Click here to Skip to main content
15,914,014 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Weird ProgBar Prob... Pin
u6ik15-Aug-05 1:17
u6ik15-Aug-05 1:17 
Generalopc server and client Pin
xieyig14-Aug-05 23:43
xieyig14-Aug-05 23:43 
Questionhow can I convert a mfc ocx to asp server ocx Pin
xieyig14-Aug-05 23:37
xieyig14-Aug-05 23:37 
GeneralStupid newbies need help. Pin
cue_ball14-Aug-05 22:03
cue_ball14-Aug-05 22:03 
GeneralRe: Stupid newbies need help. Pin
HumanOsc14-Aug-05 23:15
HumanOsc14-Aug-05 23:15 
GeneralRe: Stupid newbies need help. Pin
u6ik15-Aug-05 0:03
u6ik15-Aug-05 0:03 
GeneralRe: Stupid newbies need help. Pin
HumanOsc15-Aug-05 0:10
HumanOsc15-Aug-05 0:10 
GeneralC++ and Python Questions... Pin
Raistlfiren14-Aug-05 18:46
Raistlfiren14-Aug-05 18:46 
I had a question about the two programming + I am some what new to the subject so bear with me... I have read multiple tutorials on programming in C++ and in Python, but I was always notice that something is different...

My first question is for Python... Whenever I look at different tutorials I notice this:
#! /usr/local/bin/python or this #! /usr/bin/python before your program starts... I was wondering though why some tutorials do not incorperate that in their tutorial/programs... I was actually wondering why you would, because I can run things just fine without putting that before my code in Python. I don't get any errors also. Is that only if you are running a linux system and you have to do that?

My second question is about C++... I have also noticed that in different tutorials they show all types of different ways to start out their programs. For example one way is
-----------------------------------------------------------------------------------------
#include<br />
<br />
int main ()<br />
//(main program goes here)<br />
<br />
<br />
or<br />
<br />
#include<br />
#include<br />
int main(int nNumberofArgs, char* pszArgs[])<br />
{


----------------------------------------------------------------------------------------
The list goes on and on... I am just so confused. Is there a right way to right a C++ program? Are they all right ways? What does it all mean?

Thanks for any help,
Raistlin
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 19:00
professionalcode-frog14-Aug-05 19:00 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 19:16
Raistlfiren14-Aug-05 19:16 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 19:35
professionalcode-frog14-Aug-05 19:35 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 19:55
Raistlfiren14-Aug-05 19:55 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 21:26
professionalcode-frog14-Aug-05 21:26 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:46
Raistlfiren15-Aug-05 10:46 
GeneralRe: C++ and Python Questions... Pin
code-frog14-Aug-05 19:52
professionalcode-frog14-Aug-05 19:52 
GeneralRe: C++ and Python Questions... Pin
S. Senthil Kumar14-Aug-05 19:12
S. Senthil Kumar14-Aug-05 19:12 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 19:24
Raistlfiren14-Aug-05 19:24 
GeneralRe: C++ and Python Questions... Pin
Christian Graus14-Aug-05 19:35
protectorChristian Graus14-Aug-05 19:35 
GeneralRe: C++ and Python Questions... Pin
Christian Graus14-Aug-05 19:43
protectorChristian Graus14-Aug-05 19:43 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren14-Aug-05 20:28
Raistlfiren14-Aug-05 20:28 
GeneralRe: C++ and Python Questions... Pin
Kevin McFarlane15-Aug-05 0:00
Kevin McFarlane15-Aug-05 0:00 
GeneralRe: C++ and Python Questions... Pin
markkuk15-Aug-05 1:52
markkuk15-Aug-05 1:52 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:37
Raistlfiren15-Aug-05 10:37 
GeneralRe: C++ and Python Questions... Pin
Christian Graus15-Aug-05 13:12
protectorChristian Graus15-Aug-05 13:12 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 16:11
Raistlfiren15-Aug-05 16:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.