I'm wondering if I should get Visual C++ (Visual Studio) and I've looked around and sites say that it's used to make Windows programs? Is the main objective of Visual C++ different than regular c++ IDE's such as Dev C++ to make programs? I can't figure out how to make a program from scratch on a free trial version of Visual C++. Well, any info is great.
What Is Visual C++ used for?
Visual C++ helps the user create programs. Dev C++ does the same, they are both the same language program, just different program.
Kind of like OpenOffice and Microsoft Word.
In order to make a program from scratch you need to learn how to program in language C.
There are many ebooks out there and tutorials.
You need to start out my a simple Hello World program.
Here are some tutorial sites:
http://www.iu.hio.no/~mark/CTutorial/CTu...
http://www.scit.wlv.ac.uk/~jphb/cbook/ht...
http://www.cprogramming.com/tutorial.htm...
http://www.howstuffworks.com/c.htm
http://www.physics.drexel.edu/courses/Co...
Reply:It's for programs like Windows Movie Maker, Windows DVD Maker, and etc. I use it for windows movie maker. You have to use xmls for that though. But it's just for programs that read those formats you can make in it. But if you know the coding for it you could somehow make a program.
But
%26lt;Param name="[Type Of Thing]" value="[Such as a number in decimal format like 1.0]" /%26gt;
Is a line for XML.
That's all I'm giving you for an answer!
A Free Trial version of C++? Weird. Microsoft gave you a serial for it and you put it in at Help%26gt;Register Product.
Monday, May 24, 2010
Saturday, May 22, 2010
Looking for the C&A Palomino horse ride that was in C&A stores. 10p a ride. Who made/hired the horse ride?
I am looking for the C%26amp;A Palomino horse ride that was in C%26amp;A stores in the UK and I believe in overseas C%26amp;A stores. In the UK the ride used to be 10p per go and the horse went faster when you pulled on the reigns. Who manufactured the horse or hired it to the C%26amp;A stores. Where are they now and where could I buy one or see a photo or web link? I think it was also in the background in the film Big at the fairground with Tom Hanks. Please help me find one.
Looking for the C%26amp;A Palomino horse ride that was in C%26amp;A stores. 10p a ride. Who made/hired the horse ride?
I'm not sure about in the UK.. but they are alive and well in the US! You can find them by searching "kiddie rides" here. I spent many happy times as a kid on one of these even if I didn't have the dime!
http://www.homegameroom.com/catalog/kids...
queen of the night
Looking for the C%26amp;A Palomino horse ride that was in C%26amp;A stores. 10p a ride. Who made/hired the horse ride?
I'm not sure about in the UK.. but they are alive and well in the US! You can find them by searching "kiddie rides" here. I spent many happy times as a kid on one of these even if I didn't have the dime!
http://www.homegameroom.com/catalog/kids...
queen of the night
C progamming /clr?
I want to compile a program that I wrote in Microsoft Visual C++. It is a C program that looks like this:
#include %26lt;stdio.h%26gt;
int main()
{
if ( !remove("useless.txt"){
printf( "Remove Sucsess" );
}
return 0;
}
I just wanted to test the "remove" function that I recently learned.
When I try to complie it an error comes up:
1%26gt;cl : Command line error D8045 : cannot compile C file '.\remove.c' with the /clr option
Now I have no idea what /clr is can anyone help?
Is it jsut the compiler or my program?
Thanks,
C progamming /clr?
Your program is missing library...
set up libraries path...
#include %26lt;stdio.h%26gt;
int main()
{
if ( !remove("useless.txt"){
printf( "Remove Sucsess" );
}
return 0;
}
I just wanted to test the "remove" function that I recently learned.
When I try to complie it an error comes up:
1%26gt;cl : Command line error D8045 : cannot compile C file '.\remove.c' with the /clr option
Now I have no idea what /clr is can anyone help?
Is it jsut the compiler or my program?
Thanks,
C progamming /clr?
Your program is missing library...
set up libraries path...
F(x) = 4x+c and f^-1(x) = mx - 5/4. Find the values of m and c.?
f(x) = 4x+c
Let y = 4x+c
y-c = 4x
y-c/4 = x
Therefore, f^-1(x) = x-c/4
What do I do next?
F(x) = 4x+c and f^-1(x) = mx - 5/4. Find the values of m and c.?
You have done it wrong
f(x) = 4x+c
Let y = 4x+c
y-c = 4x
y-c/4 = x
--------------------------------------...
how is this possible
y-c = 4x
then
x = y/4 - c/4
so,
f^-1(x) = x/4 - c/4-------------%26gt;%26gt;(1)
given that
f(x) = 4x+c
and
f^-1(x) = mx - 5/4---------%26gt;%26gt;(2)
Comparing (1) and (2) we get
m = 1/4 and c = 5
================
Hope this will help u...................
Reply:You know that both
:A: f^-1(x)=x-c/4 [what you derived from f(x)=4x+c]
and
:B: f^-1(x)=mx-5/4 [given]
are true. The only possible solution here is (m,c)=(1,5); substituting m=1 would give
:A: f^-1(x)=x-c/4
:B: f^-1(x)=x-5/4
and substituting c=5 would give
:A: f^-1(x)=x-5/4
:B: f^-1(x)=x-5/4
Let y = 4x+c
y-c = 4x
y-c/4 = x
Therefore, f^-1(x) = x-c/4
What do I do next?
F(x) = 4x+c and f^-1(x) = mx - 5/4. Find the values of m and c.?
You have done it wrong
f(x) = 4x+c
Let y = 4x+c
y-c = 4x
y-c/4 = x
--------------------------------------...
how is this possible
y-c = 4x
then
x = y/4 - c/4
so,
f^-1(x) = x/4 - c/4-------------%26gt;%26gt;(1)
given that
f(x) = 4x+c
and
f^-1(x) = mx - 5/4---------%26gt;%26gt;(2)
Comparing (1) and (2) we get
m = 1/4 and c = 5
================
Hope this will help u...................
Reply:You know that both
:A: f^-1(x)=x-c/4 [what you derived from f(x)=4x+c]
and
:B: f^-1(x)=mx-5/4 [given]
are true. The only possible solution here is (m,c)=(1,5); substituting m=1 would give
:A: f^-1(x)=x-c/4
:B: f^-1(x)=x-5/4
and substituting c=5 would give
:A: f^-1(x)=x-5/4
:B: f^-1(x)=x-5/4
C++: Is any compile time memory allocated for this type of function return value?
class c
{
c func()
{
return c();
}
}
I was rather amused to discover that this kind of object creation is allowed: as in return c(). This is obviously not an object declaration so I was wondering if memory is allocated at all compile time? I'm guessing that at runtime a temporary object automatically gets created just while returning. And this "temporary" memory is something different from the well known heap and stack memory areas??
C++: Is any compile time memory allocated for this type of function return value?
The memory for the result is allocated on the stack. However, the memory may be located purely in the caller of "c::func" and not in "c::func", itself, if your compiler uses return-value-optimization (RVO).
Reply:'return c();' will call the same function again, it is recursive, it will never complete recursing, eventually it will cause a stack overflow. No memory would be allocated at compile time. Stack memory will be allocated for each function call once c() is called.
{
c func()
{
return c();
}
}
I was rather amused to discover that this kind of object creation is allowed: as in return c(). This is obviously not an object declaration so I was wondering if memory is allocated at all compile time? I'm guessing that at runtime a temporary object automatically gets created just while returning. And this "temporary" memory is something different from the well known heap and stack memory areas??
C++: Is any compile time memory allocated for this type of function return value?
The memory for the result is allocated on the stack. However, the memory may be located purely in the caller of "c::func" and not in "c::func", itself, if your compiler uses return-value-optimization (RVO).
Reply:'return c();' will call the same function again, it is recursive, it will never complete recursing, eventually it will cause a stack overflow. No memory would be allocated at compile time. Stack memory will be allocated for each function call once c() is called.
C-section question.?
okay. i wanted to know some things about the c-section. i'm in the south carolina area also. i was wondering can you get a planned c-section, or will the doctors make you have it natural if you can? .. %26amp;%26amp; if you can get a c-section do you have to get a epidural. or is there other things you can ask for and they give it to you? can you get a anestishia ( however you spell it ), and be put to sleep? .. what are some other things about the c-section, like your experience with it.
C-section question.?
It depends on your doctor but my experience they will only do a c-section if need be. I had one with my daughter b/c she was breech and they did a version to try and flip her by pushing on my belly to try to externally flip her, it didn't work, so when I had my son 2 years later I did a vbac, vaginal birth after cesarian, it was the best thing I could have done. It was such a fast recovery and with my c-section I had a spinal block, a one time shot where they do the epidural and it totally numbs you. If you have an option go for vaginal birth. So much better. Good luck
Reply:No physician should allow a woman to have c-section unless it is medically warranted. It is major surgery, with risks to you and the baby. Generally women have epis or spinal blocks for a c-section. On very, very rare occassions when there is a true emergency, the mother might be "put to sleep" for the duration of the surgery.
I have had vaginal births and a c-section and there is NO way I would elect to have c-section. ONLY is there were some emergency... it's way to risky otherwise.
Reply:Most of the time they will not do a c-section because you ask for it. Yes, most c-sections are done with epidural's. General anesthesia is bad for baby and mom so they only do it for emergency c-section's most of time. It is sometimes worse recovering from c-section than it is a normal vaginal birth. I would say you need to talk to your doctor and be honest with your fears of vaginal delivery. Good luck.. Hope this helps a little..
P.S. in vaginal delivery, the contractions and baby passing through birth canal gets the fluid out of babies lungs... in c-cection, this does not happen so higher risk for aspiration of fluids occurs
baby breath
C-section question.?
It depends on your doctor but my experience they will only do a c-section if need be. I had one with my daughter b/c she was breech and they did a version to try and flip her by pushing on my belly to try to externally flip her, it didn't work, so when I had my son 2 years later I did a vbac, vaginal birth after cesarian, it was the best thing I could have done. It was such a fast recovery and with my c-section I had a spinal block, a one time shot where they do the epidural and it totally numbs you. If you have an option go for vaginal birth. So much better. Good luck
Reply:No physician should allow a woman to have c-section unless it is medically warranted. It is major surgery, with risks to you and the baby. Generally women have epis or spinal blocks for a c-section. On very, very rare occassions when there is a true emergency, the mother might be "put to sleep" for the duration of the surgery.
I have had vaginal births and a c-section and there is NO way I would elect to have c-section. ONLY is there were some emergency... it's way to risky otherwise.
Reply:Most of the time they will not do a c-section because you ask for it. Yes, most c-sections are done with epidural's. General anesthesia is bad for baby and mom so they only do it for emergency c-section's most of time. It is sometimes worse recovering from c-section than it is a normal vaginal birth. I would say you need to talk to your doctor and be honest with your fears of vaginal delivery. Good luck.. Hope this helps a little..
P.S. in vaginal delivery, the contractions and baby passing through birth canal gets the fluid out of babies lungs... in c-cection, this does not happen so higher risk for aspiration of fluids occurs
baby breath
C# I need still help! 10 points for the best answer. C# C# C#?
Hello everybody.
I need a C# code for print an image, imported with a openFileDialog Component.
Can you help me?
Thanks
C# I need still help! 10 points for the best answer. C# C# C#?
First, you will need an OpenFileDialog, a PictureBox, and a method of starting the loading process (your choice, most likely a button's Click event).
Assuming the dialog is called openFileDialog and the picture box is called pictureBox, you can call this function (or copy and paste the code inside of it into the event handler.
void LoadImageFromDialog()
{
openFileDialog.Filter = "Image files|*.gif;*.jpg;*.png";
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBox.Load(openFileDialog.FileNam...
}
}
Example Form:
Copy and paste this into a new file called ImageForm.cs and just create an instance of it and show it. Clicking on the form will open the file dialog and load the picture after selecting one.
using System;
using System.Windows.Forms;
public class ImageForm : Form
{
OpenFileDialog openFileDialog = new OpenFileDialog();
PictureBox pictureBox = new PictureBox();
public ImageForm()
{
this.pictureBox.Location = new System.Drawing.Point(0, 0);
this.pictureBox.Size = new System.Drawing.Size(300, 300);
this.pictureBox.Dock = DockStyle.Fill;
this.pictureBox.Click += new EventHandler( pictureBox_Click);
this.ClientSize = new System.Drawing.Size(300, 300);
this.Controls.Add(pictureBox);
this.Text = "Image Form";
}
void pictureBox_Click(object sender, EventArgs e)
{
openFileDialog.Filter = "Image files|*.gif;*.jpg;*.png";
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBox.Load( openFileDialog.FileName);
}
}
}
Reply:Look in MSDN for Graphics.DrawImage, or just look at the Graphics class. You
draw an image in really the same way as you print anything.
Reply:Since we're talking windows forms, I think you want to create a form and add an OpenFileDialog to it, and add a PictureBox Control to it.
Add a button call it Load... in the OnClick you'll want to open the Dialog. When the user clicks Ok after selecting a picture. Set the image property of the PictureBox to the file in the Open dialog control.
Instant Gratification.
I need a C# code for print an image, imported with a openFileDialog Component.
Can you help me?
Thanks
C# I need still help! 10 points for the best answer. C# C# C#?
First, you will need an OpenFileDialog, a PictureBox, and a method of starting the loading process (your choice, most likely a button's Click event).
Assuming the dialog is called openFileDialog and the picture box is called pictureBox, you can call this function (or copy and paste the code inside of it into the event handler.
void LoadImageFromDialog()
{
openFileDialog.Filter = "Image files|*.gif;*.jpg;*.png";
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBox.Load(openFileDialog.FileNam...
}
}
Example Form:
Copy and paste this into a new file called ImageForm.cs and just create an instance of it and show it. Clicking on the form will open the file dialog and load the picture after selecting one.
using System;
using System.Windows.Forms;
public class ImageForm : Form
{
OpenFileDialog openFileDialog = new OpenFileDialog();
PictureBox pictureBox = new PictureBox();
public ImageForm()
{
this.pictureBox.Location = new System.Drawing.Point(0, 0);
this.pictureBox.Size = new System.Drawing.Size(300, 300);
this.pictureBox.Dock = DockStyle.Fill;
this.pictureBox.Click += new EventHandler( pictureBox_Click);
this.ClientSize = new System.Drawing.Size(300, 300);
this.Controls.Add(pictureBox);
this.Text = "Image Form";
}
void pictureBox_Click(object sender, EventArgs e)
{
openFileDialog.Filter = "Image files|*.gif;*.jpg;*.png";
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
pictureBox.Load( openFileDialog.FileName);
}
}
}
Reply:Look in MSDN for Graphics.DrawImage, or just look at the Graphics class. You
draw an image in really the same way as you print anything.
Reply:Since we're talking windows forms, I think you want to create a form and add an OpenFileDialog to it, and add a PictureBox Control to it.
Add a button call it Load... in the OnClick you'll want to open the Dialog. When the user clicks Ok after selecting a picture. Set the image property of the PictureBox to the file in the Open dialog control.
Instant Gratification.
Subscribe to:
Posts (Atom)