Click here to Skip to main content
16,016,862 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
Raistlfiren wrote:
Whenever I look at different tutorials I notice this:
#! /usr/local/bin/python

That's just to indicate to the shell as to where the python interpreter is present. I guess it's in your PATH environment variable, so you don't need that line of code.
Raistlfiren wrote:
Is there a right way to right a C++ program?
There are only two ways main can be written and you've listed both of them. The first one is used when you don't bother about command line arguments, the second one when you have to use them.

What other way did you find?


Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
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 
GeneralRe: C++ and Python Questions... Pin
Christian Graus15-Aug-05 16:15
protectorChristian Graus15-Aug-05 16:15 
GeneralRe: C++ and Python Questions... Pin
vincent.reynolds15-Aug-05 7:03
vincent.reynolds15-Aug-05 7:03 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 10:42
Raistlfiren15-Aug-05 10:42 
GeneralRe: C++ and Python Questions... Pin
DavidNohejl15-Aug-05 15:11
DavidNohejl15-Aug-05 15:11 
GeneralRe: C++ and Python Questions... Pin
Raistlfiren15-Aug-05 16:04
Raistlfiren15-Aug-05 16:04 
GeneralFirst Chance Exception Pin
suzie10014-Aug-05 18:17
suzie10014-Aug-05 18:17 
GeneralRe: First Chance Exception Pin
Steen Krogsgaard14-Aug-05 21:18
Steen Krogsgaard14-Aug-05 21:18 
GeneralLinked Lists Pin
sroberts8214-Aug-05 8:29
sroberts8214-Aug-05 8:29 

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.