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

Search:

Type: Posts; User: E-man96

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    4,200

    weird cout error, overwrites current line

    I am creating a program for my dad, which will have a catalogue of patients, and will check them for dates and such, but that's off topic. Here's my dilemma, whenever I cout a series of messages, the...
  2. Replies
    1
    Views
    6,658

    Re: GTK/wxWidgets bug gui problem

    This was solved in the wxWidgets forums see http://wxforum.shadonet.com/viewtopic.php?p=122802.
  3. Replies
    1
    Views
    6,658

    GTK/wxWidgets bug gui problem

    Thanks in advance for reading this. I am using Ubuntu Linux 10.4 LTS, wxWidgets 2.8, and Gtk 2.* (I'm not sure which version, theire are too many packages)

    Whenever I run my program no icons are...
  4. Replies
    3
    Views
    2,994

    Need some tips and suggestions on program

    Would someone please review and judge my program? I need someone to tell me the good and bad practices that I should continue or end, and give me some feedback and tips for my future programs....
  5. Replies
    4
    Views
    887

    Re: A question regarding operator new[]

    BTW if your just trying to make an array you don't have to use pointers, new, and delete, You can just use the vector class it is much simpler. And an answer to your question would be here....
  6. Replies
    6
    Views
    1,120

    Re: File input problem, program won't open file

    wow it was a typo! now can someone tell me how to "close" this case?
  7. Replies
    6
    Views
    1,120

    Re: File input problem, program won't open file

    Actually I purposely made wsbd an array of chars rather than a string because I would have to search for words according to a grid with values rather than an array of strings or one string.
  8. Replies
    6
    Views
    1,120

    File input problem, program won't open file

    I am trying to create a word search program that can load text files and look for words in them. But I can't get the program to recognize the file. I am running on windows XP sp3 with WxDev-C++....
  9. what does #define do when there is no replacement

    I know that define is a search and replace thing but I dont get what define is doing when the code is like this



    #ifndef DATE_H
    #define DATE_H

    #include <iostream>
    #include <string>
  10. What is the difference between win32api,win32,vc++,mfc (etc...) anything is helpful.

    What is the difference between win32api, win32, vc++, mfc, and others? (If you know the other ones please post a comment)
    And... what do you guys think about open-source ones like wxwidgets, Qt, and...
  11. Replies
    2
    Views
    5,565

    Help with class and in and out opperators

    The code I have written is here:



    #ifndef DATE_H
    #define DATE_H

    #include <iostream>
    #include <string>
  12. Replies
    1
    Views
    5,316

    I need help with a date class.

    I need help with this code:



    #ifndef DATE_H
    #define DATE_H

    #include <iostream>
    #include <string>
  13. Replies
    24
    Views
    3,249

    Re: Simple C++ OOP Question

    Use this tutorial http://www.learncpp.com
    It's very good at covering the details
  14. Replies
    6
    Views
    673

    Is this possible?

    [code\]
    int a=5;
    if (a==7||6||5||4||3||2)

    instead of doing

    int a=5;
    if (a==7||a==6||a==5||a==4||a==3||a==2)
    [code/]
    is this possible and if not how can you make it possible?
  15. Replies
    2
    Views
    5,415

    Class header help???

    I'm trying to make a class that makes a date and lets the user edit the date.

    date.h


    #ifndef date
    #define date

    #include <iostream>
    #include <string>
  16. Replies
    31
    Views
    2,477

    Re: Please help! [Variables and text input]

    you need functions and while loops!
    goto is a bad habit because it ends up with messy code, which is probably messing up your code.
  17. Replies
    2
    Views
    512

    Can Namespaces exist in arrays?

    Like this




    class a
    {
    namespace b
    {
    }
  18. Replies
    3
    Views
    839

    Re: C++ newbie help needed

    you need to turn stirling1 and stirling2 into float numbers, OR do a typecast
    BTW: the curly brackets for the for loop is missing.
  19. Replies
    4
    Views
    5,683

    arguments and parameters difference

    I already know what the difference is but does anyone know a good way to memorize the difference between the two?
  20. Replies
    5
    Views
    8,968

    Can you have an array of strings?

    string [2];
    does this create two strings or a string of 2 characters?
    If the latter how do you make it work as an array of strings?
  21. Replies
    1
    Views
    4,790

    dynamic arrays and memory

    I have three simple questions.
    Is the memory used by a dynamic array lost forever if you never deallocate it?
    what about after the program ends?
    what about after the computer is restarted?
  22. Replies
    4
    Views
    15,411

    Can you make arrays equal to each other

    Is there a way to make the elements of an array equal to the elements of another array?
    I know that you can do it in a loop but I'm looking for something like a shortcut.
  23. Replies
    5
    Views
    765

    Re: Help me solve this problem

    maybe you should comment and indent your code. It would be easier to find the bug.
  24. Replies
    3
    Views
    5,488

    dynamic arrays WITHOUT pointers are legal???

    I for some reason can have a variable sized array. For example main.cpp (it's an attachment) can compile & run perfectly! Can someone tell me why it works and how it doesn't say it works on all the...
Results 1 to 24 of 26
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured