Forum: C++ May 29th, 2008 |
| Replies: 4 Views: 360 Re: cases Works great thx, just a mistake when I posted it on c forum I saw that i WAS C FORUM !!!
but not c++ sryyyyy |
Forum: C++ May 28th, 2008 |
| Replies: 4 Views: 360 cases Hi , this pr. works with clases but someway it just throws me a error:
switch (atoi(i))//yes its an int 1,2,3,... etc...
{
case 1:
R S(r, h);//create new class R object named S,to constructor... |
Forum: C++ May 28th, 2008 |
| Replies: 4 Views: 360 Quick Qest. , cases Hi , this pr. works with clases but someway it just throws me a error:
switch (atoi(i))//yes its an int 1,2,3,... etc...
{
case 1:
R S(r, h);//create new class R object named S,to constructor... |
Forum: C May 21st, 2008 |
| Replies: 10 Views: 568 Re: Changing litte Funtion I love this part when people try to help you, delete the whole function,create 10 times smaller and 10 times simpler ,and then suggest to use it, well reaction:
AAAAAArrrrrrrrGGGGRRRRRR......(not... |
Forum: C May 21st, 2008 |
| Replies: 3 Views: 289 Re: Graphs.... Cool, but how do you imagine this in list:
d[i]=a[i][12];??? |
Forum: C May 20th, 2008 |
| Replies: 3 Views: 289 Graphs.... I've got a question...we all know double arrays a[100][100], but how to change it into linked list or like" linked list to linked list" that we could transfer data like in a double array... |
Forum: C May 20th, 2008 |
| Replies: 10 Views: 568 Re: Changing litte Funtion I really don't know what are you doing here but, lately due to fact that
I wasn't able to change this function, I've just "invented" a function which can easily count words,because some people in... |
Forum: C May 18th, 2008 |
| Replies: 10 Views: 568 Re: Changing litte Funtion So, how to change this function to get this reslut:
nrr dooris closed
nrrr ttnananatt twallttwallt
:
/*-------------------Function--------------------------------------------*/
void AD(char... |
Forum: C May 17th, 2008 |
| Replies: 10 Views: 568 Changing litte Funtion Hello,
I've got a question how to change this function, because it should read
f.e. two lines:
33333n5rr door 3333is closed 3333333
n5rrr nanana tt4tt wall t6tt6t
then transform to:
nrr dooris... |
Forum: C May 14th, 2008 |
| Replies: 5 Views: 378 |
Forum: C May 12th, 2008 |
| Replies: 5 Views: 378 Stack problem Hi, I've have a problem of printing data from stack, if it's simple words,then stack works just fine,but if I try to push changed data using function(Written by a very intelligent moderator :) ), I... |
Forum: C May 9th, 2008 |
| Replies: 15 Views: 722 |
Forum: C May 8th, 2008 |
| Replies: 15 Views: 722 Re: stack printing string problem misake:
...because this script just deletes number
f.e.:
3333ddd 33noway dddd noway
It should change this like this : dddnoway dddd noway... |
Forum: C May 8th, 2008 |
| Replies: 15 Views: 722 Re: stack printing string problem [QUOTE=Prabakar;602820]Well, I guess this should me the final modification
Well thanks for the code again it really works, unfortunately there are two slight problems about it :(
firstly, hmmm few... |
Forum: C May 8th, 2008 |
| Replies: 15 Views: 722 |
Forum: C May 8th, 2008 |
| Replies: 15 Views: 722 Re: stack printing string problem Well thanks , for the code it's great ;)
But there is a slight problem about it ....
I probably didn't said what the program should do, so:
firstly, we take a lines from file:
2323big 333house 3333... |
Forum: C May 8th, 2008 |
| Replies: 15 Views: 722 Re: stack printing string problem this works :)
but still, when i put this part of the code to the full program the results are a bit strange..
lets say we have 4 lines:
asasasasas
aaaa
bbbb
cccc
but the program only prints:
cccc |
Forum: C May 8th, 2008 |
| Replies: 15 Views: 722 Re: stack printing string problem char *items[10] ; should be used & in push just save, items[top++] = c;
& similarly change, the pop() // you mean something like... |
Forum: C May 7th, 2008 |
| Replies: 15 Views: 722 stack printing string problem Hi, This program reads parameters from parameter line : program.exe data.txt result.txt (or somth.) , then takes date from data.txt and writes it to buffer, then program divides buffer to lines ,... |
Forum: C Apr 27th, 2008 |
| Replies: 5 Views: 401 |
Forum: C Apr 27th, 2008 |
| Replies: 5 Views: 401 Re: C working with string problem Hi,
Firstly,thanks for great idea!
Secondly, sorry that I didn't replied earlier...
Anyway I have one more question : if for egz.: we are reading multiple lines from text,
and we want to print them... |
Forum: C Apr 23rd, 2008 |
| Replies: 5 Views: 401 C working with string problem Hi,
I have a problem creating one part of the program,
Lets say we have a line (from data file): 333 hou 23se 444 bi 4g
and the program should change to : house big
deleting first number if... |