Computing.Net > Forums > Programming > C++ help

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

C++ help

Reply to Message Icon

Name: steveelrich
Date: April 14, 2004 at 15:44:16 Pacific
OS: win me
CPU/Ram: ?
Comment:

i wrote program in C++ called project1 and my teacher asked that when we turn in the disk to have a copy of project1.cpp and project1.exe on the disk. i know where to get the .cpp file, because it comes off of C++, but i dont understand where to get the .exe file.

Steve Elrich



Sponsored Link
Ads by Google

Response Number 1
Name: b0red
Date: April 14, 2004 at 17:57:39 Pacific
Reply:

.exe files are compiled .cpp files, try to find a "compile" option in the compiler you're using


0

Response Number 2
Name: Infinite Recursion
Date: April 14, 2004 at 18:44:03 Pacific
Reply:

The words "make" and "build" may also lead you to the compiler.

IR


0

Response Number 3
Name: Farnoush Hakakian
Date: April 15, 2004 at 06:40:54 Pacific
Reply:

After building or running the program on your computer, you will find a folder called Debug in the same directory as your .cpp file, the .exe file will be in the debug folder and you can copy the file into your diskete.

p.s. you can not run big .cpp files on disketes because there is not enough space on the diskete. That's why your teacher wants only .cpp and .exe files in the diskete.

Farnoush Hakakian


0

Response Number 4
Name: feras_l
Date: April 18, 2004 at 10:11:55 Pacific
Reply:

hi i want to brows a file then open it to do some functions then want to brows again and save a new copy of the file... can i do this BUT having some kind of interfaceing(GUI) and how??

hope some one can help me with this


0

Response Number 5
Name: Mike Dheel
Date: April 25, 2004 at 08:38:14 Pacific
Reply:

I need to add code to convert 1 line of file data to its hex value in a CString. I can reuse lineOfText and write a for loop to convert the integers and put their hex values in lineOfText and then display the string using the label:hexLineLabel.
//Display address heading
CString lineOfText;
for(int i=0; i<16; ++i)
{
lineOfText += " " + convert8(i);
}
m_addressHeadingLabel.put_caption(lineOfText);


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: C++ help

Simple C Help!!! www.computing.net/answers/programming/simple-c-help/9795.html

C# help www.computing.net/answers/programming/c-help/3176.html

help help!!!..C...data file..please www.computing.net/answers/programming/help-helpcdata-fileplease/8092.html