User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 427,942 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,593 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 22 of 22
Search took 0.01 seconds.
Posts Made By: Onixtender
Forum: C++ May 29th, 2008
Replies: 4
Views: 360
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
Re: Stack problem

thx, works great
Forum: C May 12th, 2008
Replies: 5
Views: 378
Posted By Onixtender
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
Posted By Onixtender
Re: stack printing string problem

so , how exactly to change it?
make something, like an array?
Forum: C May 8th, 2008
Replies: 15
Views: 722
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
Re: stack printing string problem

Well I use cygwin>gcc -o programname main.c
for writing code dev-C++
PS. ; Don't worry I'm fine
Forum: C May 8th, 2008
Replies: 15
Views: 722
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
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
Posted By Onixtender
Re: C working with string problem

Thanks a lot , everything works just fine :)
Forum: C Apr 27th, 2008
Replies: 5
Views: 401
Posted By Onixtender
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
Posted By Onixtender
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...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 6:50 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC