Search:

Type: Posts; User: benhaldor

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,242

    array size problem

    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...
  2. Replies
    17
    Views
    3,143

    my goal is practicing with main(argc,*argv[]) but...

    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...
  3. Replies
    17
    Views
    3,143

    i am not using console and i want to learn...

    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...
  4. Replies
    17
    Views
    3,143

    well actually these didnt solve my problems ...

    well actually these didnt solve my problems

    any other suggestions?
  5. Replies
    17
    Views
    3,143

    but i want to use argv and argc in my program ...

    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
  6. Replies
    17
    Views
    3,143

    well i am not that knowledgeable about command...

    well
    i am not that knowledgeable about command line
    can you explain it with more detail

    and how do i use GetCommandLine() function?

    thanx
  7. Replies
    17
    Views
    3,143

    command line arguments

    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
  8. Replies
    4
    Views
    29,716

    thank you very much matsp but ididnt...

    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
  9. Replies
    4
    Views
    29,716

    thanks matsp but why void ** does it change...

    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...
  10. Replies
    4
    Views
    29,716

    function pointers

    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...
  11. Replies
    8
    Views
    1,426

    yeah thanks zuk actually i figured it out by...

    yeah thanks zuk

    actually i figured it out by myself before you posted but thanks anyway
  12. Replies
    8
    Views
    1,426

    i have another function problem any help would...

    i have another function problem
    any help would be good





    #include<stdio.h>
    #include<ctype.h>
  13. Replies
    8
    Views
    1,426

    hi again i get the code to work but only...

    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 ...
  14. Replies
    8
    Views
    1,426

    You have problems with entering 2 strings......

    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...
  15. Replies
    8
    Views
    1,426

    [Warning] passing arg 1 of `ekleme' from...

    [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...
  16. Replies
    8
    Views
    1,426

    hi all(function problem )

    hi all i am new here
    straight to the point
    --------------------------------------------------------


    #include<stdio.h>



    void ekleme( int *s, int *t )
Results 1 to 16 of 16