Search:

Type: Posts; User: ultrabot90

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Bug in key detection system...both known methods not working

    This particular code fragment runs till you press escape (Cred for the arrow-key detection system to Prelude :D)
    It is supposed to show the objects of a class from a file. (Note, the program works...
  2. Replies
    6
    Views
    917

    But what should I do bout the junk values? o.o

    But what should I do bout the junk values? o.o
  3. Replies
    6
    Views
    917

    Yet another problem...I tested the program thus -...

    Yet another problem...I tested the program thus -
    1. Compiled+Run once, then added an entry, quit.
    2. (no changes in code) Compiled+Run again, started function 1 (read from file), quit.
    It just...
  4. Replies
    6
    Views
    917

    Ouch, thanks (But surely you didn't think I put...

    Ouch, thanks (But surely you didn't think I put those single quotes in deliberation? Awful mistake of mine.)
    Another question...When the program inputs a line from the user in create_new_record(),...
  5. Replies
    6
    Views
    917

    Menu Problems

    I have a project here (console address book program)


    #include<iostream>
    #include<fstream>
    #include<windows.h>
    #include<cstdio>
    #include<string>
    using namespace std;
    void clrscr(void)...
  6. Replies
    5
    Views
    1,154

    Omfg I went and confused it with a character...

    Omfg I went and confused it with a character array which has an '\0' in the end to help in comparison...Pwnd. I am using the dynamic memory allocation method now, which should've bin done ages back...
  7. Replies
    5
    Views
    1,154

    @matsp- A const is just what I dont want to make...

    @matsp- A const is just what I dont want to make it
    @anon - "and do not miraculously substitute dynamically allocated arrays."
    That's nailed it, then.
    I dunno what's a GUID....e[] is just the same...
  8. Replies
    5
    Views
    1,154

    Errors Manifold

    What do the following errors mean?
    1. variable-size type declared outside of any function
    2. no match for 'operator!=' in 'e[temp]!='\000''
    candidates are BOOL operator!=(const GUID&, const...
  9. Replies
    6
    Views
    1,506

    Yep I did that in the main code. Yeah, I...

    Yep I did that in the main code.

    Yeah, I noticed how I couldnt do it in Borland C++ v2 (MS DOS sorta thing)

    I'm afraid I dunno how to do that for arrays.
  10. Replies
    6
    Views
    1,506

    I saw that bit, thanks for pointing it out...But...

    I saw that bit, thanks for pointing it out...But this is just a part of the whole program.
    1. This is function will be executed every time the program starts. (And the default value in span.txt is...
  11. Replies
    6
    Views
    1,506

    That points to 'readspan' here. But all the...

    That points to 'readspan' here.
    But all the same...


    int main()
    {
    int in;
    Entry e[bookspan];
    ifstream readspan;
    readspan.open("span.txt", ios::in);
  12. Replies
    6
    Views
    1,506

    Assigning values from a file

    I need a part of my program to read an integer value from a text file (there's nothing else in that file) and assign the found value to a number. That number (bookspan) is not a member of a...
  13. Hey, yeah, I googled std::vector and found a...

    Hey, yeah, I googled std::vector and found a guide (http://www.codeguru.com/cpp/cpp/cpp_mfc/arrays/article.php/c4071/) and linked lists are what they're using in class, I think (linked lists google...
  14. Automatically make new elements of an array

    I'm working on a huge (by my standards) address book program, and it consists of the array of objects of a class Entry. Each element is one entry in the book.
    Please help me by telling-
    1.How to...
  15. Replies
    3
    Views
    1,407

    Thanks o_o But what if I need response for, say,...

    Thanks o_o
    But what if I need response for, say, an alphabet or a numerical key?
    Edit - Googled around for 'keyboard code map', no go, no index of keyboard codes...sigh.
  16. Replies
    3
    Views
    1,407

    Response to a key

    I need to give the look of 'pages' in a console app, eg Right arrow key will show the next object, Left will show the previous object etc. Basically, I just need to know how to get that kind of a key...
  17. Replies
    20
    Views
    2,583

    Thanks for that one o.o I wonder how I can do...

    Thanks for that one o.o
    I wonder how I can do away with the recursion here, though...?
  18. Replies
    20
    Views
    2,583

    matsp, on the link you gave, it says... ...

    matsp, on the link you gave, it says...


    string s;
    getline( cin, s );
    cout << "You entered " << s << endl;

    But I thought string wasn't a keyword? O_O
    And Im afraid I did not understand...
  19. Replies
    20
    Views
    2,583

    Uh, length shouldnt be a problem at THIS stage, I...

    Uh, length shouldnt be a problem at THIS stage, I guess, its just experimental -_-
    Whatever is recursion? O.o
    And this app is meant for a school project...if I were making something for myself, I'd...
  20. Replies
    20
    Views
    2,583

    class Email { char email[20]; int count=0;...

    class Email
    {
    char email[20];
    int count=0;
    public:
    void enter_email();
    };
    Email::enter_email()
    {
    cout<<"\nEnter email...";
  21. Replies
    20
    Views
    2,583

    Entering an email...the correct way!

    I was working on a project, and I was wondering if I can make something like a email entering system, probably using a class. I want it to do the following -
    1. First perform a prelim check for any...
  22. Thread: New Process

    by ultrabot90
    Replies
    11
    Views
    1,546

    Uh, whats execl()? What does it do? Just asking...

    Uh, whats execl()? What does it do? Just asking for experience... o.O
  23. Noobs *rolleyes* I wonder why the program...

    Noobs *rolleyes*
    I wonder why the program terminates, though?
  24. Replies
    10
    Views
    1,564

    I'd replace the... if(D=0) ...with a... ...

    I'd replace the...


    if(D=0)

    ...with a...


    if(D==0)
  25. Replies
    15
    Views
    23,768

    Whats PDCurses? o.o And whats gcc/g++?

    Whats PDCurses? o.o

    And whats gcc/g++?
Results 1 to 25 of 37
Page 1 of 2 1 2