hi all
i am making a getword and line number program and right now i am working on some parts of the program but something weird has happened this is my code and i get a windows runtime error when...
Type: Posts; User: benhaldor
hi all
i am making a getword and line number program and right now i am working on some parts of the program but something weird has happened this is my code and i get a windows runtime error when...
my goal is practicing with main(argc,*argv[]) but from what i understand i cannot do it as long as i am not using command line
getcommandline is a good solution but i just want to use...
i am not using console and i want to learn GetCommandLine thing but nobody explained how it works
you said it gets the string from the command line but i want to use this main(int argc, char...
well actually these didnt solve my problems
any other suggestions?
but i want to use argv and argc in my program
can i use these as main(argc, *argv[]) with
Code:
LPTSTR GetCommandLine(VOID); this and how?
thanx matsp
you are the man
well
i am not that knowledgeable about command line
can you explain it with more detail
and how do i use GetCommandLine() function?
thanx
me again
how can i use command line arguments if i am not using comand line when opening my programs
and if i cant, how do i use command line to open them (in xp)
thanx in advance
thank you very much matsp
but ididnt understand this
(*fp)(); // alternative stype for fp();
doesnt (*fp) already call for abc function because it is a pointer
thanks matsp but why void **
does it change the type of the lineptr pointer's adress which is a char
and if that is so why not
(void *)(* lineptr)
and cant we just use functions as...
hi,
the first of my question is about pointers to functions
i dont even know why do we need them
cant we just use functions as one of the arguments to another function
if we need to use...
yeah thanks zuk
actually i figured it out by myself before you posted but thanks anyway
i have another function problem
any help would be good
#include<stdio.h>
#include<ctype.h>
hi again
i get the code to work but only when i do the following:
1-compile and run
2-write something on keyboard for string1
3-press Enter twice ...
You have problems with entering 2 strings... After stdio receives EOF it cannot give you any char without resetting the error flag
but i tested that
both of the strings are there when i say...
[Warning] passing arg 1 of `ekleme' from incompatible pointer type
i get this warning when i do it and it still doesn t work properly
it is the same
just prints the string1 as it is in the...
hi all i am new here
straight to the point
--------------------------------------------------------
#include<stdio.h>
void ekleme( int *s, int *t )