Advertisement

1 - 10 of 17 containing alltags:("argc") (0 seconds)
Im learning C++ from the book C++ progarmming languages (bjarne stroustrup). I ran one of his little app and something went.. well not wrong but different then what expected.. is argc working...
Zones: General Macintosh ProgrammingDate Answered: 05/21/2003 Grade: C Views: 324
I am trying to access argv[], argc in a function i am using but it wont compile, it keeps giving me error, 'argv, argc undeclared' int processRows(int i) {  int rowNumber;  while (i < argc) ...
Zones: CDate Answered: 06/11/2003 Grade: A Views: 72
hi guys, i see this alot, but i've never used it in a program, and i dont know whats it used for, so if someone can help me i'll be thankful.
Zones: C++ BuilderDate Answered: 06/26/2004 Grade: A Views: 453
What is "argc" and why is the value is 3 when i type in this: a.out abc de? #include <stdio.h> int main (int argc, char *argv[]) {   int i,n;   char *p;   printf("argc is: %d\n", argc); ...
Zones: CDate Answered: 10/15/2007 Grade: A Views: 9
I would like to be able to get command line options in argc & argv format in my InitInstance() call without having to parse through the m_lpCmdLine string myself. Is there an easy way to do this? T...
Zones: Windows MFCDate Answered: 10/19/1998 Grade: A Views: 40
Hi, Can I ask you a question without enough pointes? I added try.h and try.c to me MFC project. ---------------------------------------- try.h: int main0(int argc, char *argv[]); ----...
Zones: Windows MFCDate Answered: 04/29/2001 Grade: A Views: 0
I got a program from someone else and the main()-function looks like follow: ... ... #include "MyService.h" #ifndef _CONSOLE      #include <stdlib.h>          // for declaration of __argv ...
Zones: C++Date Answered: 07/10/2001 Grade: A Views: 93
Hi linking problem I have application that use MFC and if i compile it in debug mode everything is ok. But when i want to builde it release mode i get the following errors ------------...
Zones: Windows MFCDate Answered: 09/18/2003 Grade: B Views: 0
I am using Microsoft Visual C version 6. I recieved this program from someone, and it was written as a  Console Application. I am trying to rewrite it as a Dialog Application. I am having trouble t...
Zones: CDate Answered: 03/03/2004 Grade: A Views: 0
Are argc, argv local to main
Zones: CDate Answered: 01/11/2005 Grade: A Views: 190