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...
Type: Posts; User: cdkiller
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...
sweet. thanks mario. i'll give them a read.
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...
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...
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...
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,...
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...
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...
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...
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...
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...
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...
thanks. that find_first_of looks promising. i think i can get that to do what i want.
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...
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...
ahh yes x.empty(). tried it and it works. thanks. :)
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...
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...
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...
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...