Search:

Type: Posts; User: cdkiller

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    848

    boot menu for winme win98

    Hi, I am about to build a bootcd with winme and win98 of which the setup files are in different folders ofcourse. I would like to be able to create a exe file to place in the root of the cd which...
  2. Replies
    2
    Views
    1,569

    sweet. thanks mario. i'll give them a read.

    sweet. thanks mario. i'll give them a read.
  3. Replies
    2
    Views
    1,569

    help with positioning text on console

    Hey I need some help with positioning text on screen. i am wondering if i have to use something like gotoxy() for this but i absolutly have no idea how to go about doing this. let me show you a...
  4. Replies
    5
    Views
    1,157

    thanks that works. since its so short i wont...

    thanks that works. since its so short i wont bother to make it into a function. i tried to functionify it once before with my own code and it worked for valid numbers but when i entered an invalid...
  5. Replies
    5
    Views
    1,157

    Thanks but thats not the problem, sorry if i did...

    Thanks but thats not the problem, sorry if i did not come out clearly. what i really want is for it to keep prompting for input once the current input is bad. currently if i input a letter for...
  6. Replies
    5
    Views
    1,157

    help with find_if

    In a previous post somebody, i can't remember their name, told me to use find_if. well i decided to use find_if for something else but i cant seem to get it to loop. i built it to validate numbers,...
  7. Replies
    36
    Views
    2,739

    Mario. I guess in a way i see your point. in my...

    Mario. I guess in a way i see your point. in my first programming course i was a big fan of goto in my projects but the teacher did not like us using goto. i always thought there must have some...
  8. Replies
    36
    Views
    2,739

    the only place i use goto is to write programs on...

    the only place i use goto is to write programs on my calculator and the PIC microprocessor (asm). You should listen to those who urged you to use a loop instead of goto. It is not recommended to use...
  9. Replies
    5
    Views
    2,912

    hmm. all good ideas, thanks. i just implemented...

    hmm. all good ideas, thanks. i just implemented what salem suggested though, it was the easiest to do as i did not want to have to change too much code. there is another part where i would need to...
  10. Replies
    5
    Views
    2,912

    shorter way to represent alphabet

    Hey everyone i have a piece of code here that i typed out all the letters of the alphabet.



    string::size_type pos = name.find_first_not_of("qwertyuiopasdfghjklzxcvbnm'QWERTYUIOPASDFGHJKLZXCVBNM...
  11. thanks, that solved my problem. after a while...

    thanks, that solved my problem. after a while though i realised it was a bad idea to use pos as the condition so instead i put in another var to indicate the number of invalid characters, but the...
  12. how to access local variables outside loops?

    Hi again to all. I tried to use google before asking dumb questions but i still need to ask one. :) I just did a lot of reading about pointers and referencing to try help my cause but my efforts...
  13. Replies
    7
    Views
    4,488

    thanks. that find_first_of looks promising. i...

    thanks. that find_first_of looks promising. i think i can get that to do what i want.
  14. Replies
    7
    Views
    4,488

    well it already finds all the periods in the...

    well it already finds all the periods in the string. what i want it to do is find other stuff too. so for example if i prompt NAME: d@n T33ry Br0wn
    i want to be able to check that string and say its...
  15. Replies
    7
    Views
    4,488

    traverse a string to look for certain chars

    Hey people I am trying to do a validation type thing for the names of people. I prompt for the name and then validate it. I am using getline to store the string because some names contain spaces. i...
  16. Replies
    9
    Views
    1,689

    ahh yes x.empty(). tried it and it works. thanks....

    ahh yes x.empty(). tried it and it works. thanks. :)
  17. Replies
    9
    Views
    1,689

    i was reading about classes etc however i used...

    i was reading about classes etc however i used the idea of the array to store the values. then another problem came to me, if i read 1 matrix from a text file everything is fine, when i try reading...
  18. Replies
    9
    Views
    1,689

    yea i know what you mean. it does make no sense...

    yea i know what you mean. it does make no sense to store 3 bits of info to represent 1 value. i tried it with a vector and it worked good. :) thanks man.

    i am trying to expand my abilities with...
  19. Replies
    9
    Views
    1,689

    storing a matrix

    I want to make a program to do simple matrix calculations with the elements from a text file. that part is simple and i can handle. i want this program to be highly optimised in terms of memory etc...
  20. Replies
    3
    Views
    1,400

    data arrangement and sorting.

    ok people the following is basically what i need assistance with. the problem assumes that all data from the input file is valid and should not contain validation checks. it also must not use vectors...
Results 1 to 20 of 20