CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: HKothari

Page 1 of 4 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    24
    Views
    2,522

    Re: Coding Style Questions

    Well, I am using doxygen, but that kind of relates to my question. Should the doxygen code for example go above the function's declaration or definition, in their examples it's placed at declaration,...
  2. Thread: cpp folder

    by HKothari
    Replies
    3
    Views
    602

    Re: cpp folder

    Nope, but it may be easier to put in in the C: drive in case you have to type the path later on.
  3. Thread: cpp folder

    by HKothari
    Replies
    3
    Views
    602

    Re: cpp folder

    Yeah, I'm just guessing, but it sounds like it's asking you to make a folder to store all of your source files in, so you have everything in one place, so yes, just make a regular folder.
  4. Replies
    24
    Views
    2,522

    [RESOLVED] Coding Style Questions

    I have a few questions about proper coding style.

    One of them is about documenting functions and classes, etc. Does the documentation belong in the header file for the most part, above the...
  5. Replies
    7
    Views
    11,759

    Re: C++ File Comparison

    I'm sorry for the confusion, let me clarify, it won't be 1 file with around 100 duplicates, it would be more like 50 files with 1 duplicate each or something around those, thinking about it now, I...
  6. Replies
    7
    Views
    1,093

    Re: why aren't my functions working?

    What errors are you getting.? And you may want to use "if else", instead of just "if" statements.
  7. Re: How do I implement this? Coordinate lookup....

    I don't know if this is a very good method, but I think it is. What you can do is put all of your invalid values into a STL container, probably vector, or list, then sort it. Then when ever you call...
  8. Replies
    7
    Views
    11,759

    C++ File Comparison

    I'm not sure if this is a language question, or a concept question, but I feel it's kind of both. [b]What do you think would be the best way to compare 2 separate files in c++[b], would md5'ing both...
  9. Replies
    3
    Views
    1,000

    Re: Unusual Constructor and Method Errors

    Oh, thank you, I totally forgot about that.

    Any ideas about:

    cannot find symbol method parse(java.lang.String) (for df.parse(String))
    internal error; cannot instantiate...
  10. Replies
    3
    Views
    1,000

    Unusual Constructor and Method Errors

    So, I have a class with 5 datamembers, 2 strings, 2 dates, and a boolean. And I seem to be getting constructor errors (see below) that I can't fix for the life of me. It says it can't find the...
  11. Replies
    2,690
    Views
    1,013,695

    Re: What Song Are You Listening To Now¿

    Sean Kingston ft. Lil' Wayne - I'm At War
  12. Replies
    4
    Views
    7,397

    Re: FStream Segmentation Fault

    Yes, I ended up creating a buffer.
  13. Replies
    4
    Views
    6,449

    Re: C IDE and Intellisense?

    Code::Blocks has pretty good intellisense, and I loved Dev-C++'s but Dev-C++ isn't actively developed so I'm not sure what you want.
  14. Replies
    3
    Views
    709

    Re: Copying a char* into array of char*'s

    I didn't want to use vectors, but I ended up using std::string because I figured the speed difference is minimal, and it's much easier to use.
  15. Replies
    3
    Views
    709

    Copying a char* into array of char*'s

    So I have these two char* each with a short string in them, and I want to copy them into an array of char*'s, so I use the following method:


    char* arr1[128];
    char* arr2[128];

    int arrSize =...
  16. Replies
    4
    Views
    7,397

    Re: FStream Segmentation Fault

    Oh, alright, I figured something was wrong with declaring it as null, I appreciate help, that seems to have cleared it up. Thanks a lot. :)
  17. Replies
    1
    Views
    679

    Re: Cell phone files

    Take a look at Java ME, many cell phone applications are written for that. Also, I'm pretty sure this is the wrong forum for your question.
  18. Replies
    4
    Views
    7,397

    [RESOLVED] FStream Segmentation Fault

    I open a file with ifstream and try to read a line into a char* but I get a segmentation fault when I try it, any ideas on why or how to fix it.?



    char* currentLine = NULL;
    ifstream...
  19. Replies
    2
    Views
    2,196

    Re: Ifstream.get() ignore Newlines

    Well, the file won't necessarily separate the data into lines, and even if I does, I just want to ignore the new lines.
  20. Replies
    2
    Views
    2,196

    Ifstream.get() ignore Newlines

    I'm using ifstream.get() to get a single char at a time, but in the file that it is taking from, it is possible to have unnecessary newlines. Is there a way for me to read through the file, but...
  21. Replies
    21
    Views
    1,643

    Re: What's the point of functions?

    Someone should correct me if I'm wrong, but I believe you can only return one value from a function, instead, you seem to be returning x and mult.
  22. Replies
    2
    Views
    951

    Function as Argument of Another Function

    Hi, I was wondering if there is a way that I could use a function as an argument of another function and then in the latter, execute the function by name. I've seen it happen, but I'm not sure how it...
  23. Replies
    3
    Views
    1,593

    Re: Books tutorials for Directx Open Gl

    Ignoring the fact that it says game programming, I think nehe's tutorials are the best for opengl and c++. They helped me a lot when I was looking at opengl and c++.
    ...
  24. Replies
    1
    Views
    764

    USB Flash Drive Mounted

    When a USB flash drive is mounted in windows is there some system message that is sent out or anything like that, and if so, if there any way I could get my application to look for it.? Thanks.
  25. Replies
    5
    Views
    738

    Re: Looking for A Fault

    I was using std:string, but I needed to use strtok, and the regular std::string wasn't working for me at all.
Results 1 to 25 of 77
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured