Search Results - CodeGuru Forums
 CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

# Search:

Type: Posts; User: ulumulu

Page 1 of 4 1

## Search: Search took 0.01 seconds.

by ulumulu
Replies
28
Views
2,054

### Re: HELP me OUT please..

Well if "we" want to escape this, probably everyone have to ignore such topics as
* i am noob
and so on, and so on. All these questions are not informative, and probably its...
2. ## Thread: Reversing a Number

by ulumulu
Replies
14
Views
894

### Re: Reversing a Number

There is, but only for a fixed number size.

repeat for times

m *= 10;
m += n%10;
n /= 10;
3. ## Thread: Reversing a Number

by ulumulu
Replies
14
Views
894

### Re: Reversing a Number

rev1 = 0
{
mod1 = num3 % 1000; // Show the reverse average to 4 digits?
num3 = num3 / 1000;
rev1 = (rev1 * 1000) + mod1;
}

you need to...
4. ## Thread: convert c++ to block digram

by ulumulu
Replies
2
Views
800

### Re: convert c++ to block digram

MagicDraw, Rational Rose, Poseidon.
5. ## Thread: Is STL important?

by ulumulu
Replies
30
Views
3,773

### Re: Is STL important?

Don't read it. Understand it :)

by ulumulu
Replies
4
Views
457

### Re: Strings

Nice.

did like this " \n\r\\"\" and worked like a charm.

Thankyou laserLight.

by ulumulu
Replies
4
Views
457

### Re: Strings

Yes. My English isn't that good. But I will try my best ;)

Simple example.

" \n\t\r"
" " \n\t\r"

And how to put it in this construction if ((strchr(", \n\r\t", chunckOfData[i])) ...

by ulumulu
Replies
4
Views
457

### Strings

Hi

if ((strchr(", \n\r\t", chunckOfData[i])) ........

how to add to the string ", \n\r\t" also " type of simbol. I want to check also if chunckOfData[i] isn't ".

by ulumulu
Replies
3
Views
511

### Re: Just curious about std::string

Ahh OK. Thank you Zuk :)

by ulumulu
Replies
3
Views
511

### [RESOLVED] Just curious about std::string

OK. Lets say I make string

std::string dataBlock;
...........................................
//Fill that string with some data...
11. ## Thread: class created object name.

by ulumulu
Replies
12
Views
727

### Re: class created object name.

To all who responded, big hugs :D

As I predicted it's not posible to code.

To JohnW@Wessex: Lettely I eat too much beens :D so fogot some pointers :blush:

To Ajay Vijay: Maybe you are right,...
12. ## Thread: class created object name.

by ulumulu
Replies
12
Views
727

### Re: class created object name.

To GNiewerth :
Well I am usein GCC 4.x compiler.

To Mybowlcut :
Somehow I knew it. But hoped that someone knows some magic tricks :D
13. ## Thread: class created object name.

by ulumulu
Replies
12
Views
727

### Re: class created object name.

Hmm. Well I tell you maybe first whay I am doing so.
it's because I may have 100 objects. Buttons, Labels, Scrollboxes and so on. And to set everytime name is a bit overkill.
Like
:

...
14. ## Thread: class created object name.

by ulumulu
Replies
12
Views
727

### class created object name.

Good day.

I dont know if it is possible. But maybe there is a solution to such kind of situation.

Lets say. I have class which creates a button. and I create it.

TButton button1 = new...

by ulumulu
Replies
13
Views
567

Cheers.
16. ## Thread: [RESOLVED] Pointers (confused)

by ulumulu
Replies
13
Views
567

### Re: Pointers (confused)

well chunchofData is actualy a small pease off data (block) which is parsed at the moment.
Anyway thanks for your help LaserLight. I think I found the problem.
Problem: knowledge. I am still...
17. ## Thread: [RESOLVED] Pointers (confused)

by ulumulu
Replies
13
Views
567

### Re: Pointers (confused)

Ok the problem is:
I have some text file. And I am parsing some data of it. So then I found the items i need. I want to hold pointers of it in vector that I could use it many times. That vector with...
18. ## Thread: [RESOLVED] Pointers (confused)

by ulumulu
Replies
13
Views
567

### Re: Pointers (confused)

char *tempLine;
.......................
tempLine = &chunchOfData[0];
.......................
chunchOfData[i] = '\0';
.....................

well and I want from tempLine to get adress of...
19. ## Thread: [RESOLVED] Pointers (confused)

by ulumulu
Replies
13
Views
567

### Re: Pointers (confused)

Oh ok. I did that and It still shows the content of X. Probably I did a mistake somewhere else. Most likely with Y in uper code. Anyway thankyou.
20. ## Thread: [RESOLVED] Pointers (confused)

by ulumulu
Replies
13
Views
567

### [RESOLVED] Pointers (confused)

Good day.
Probably the foolish question ever, but still.

Lets say I have pointer X*and hold in it address of &Y.
How do I get the the address of Y from X. (Not the X address but Y from X)
...
21. ## Thread: [RESOLVED] Dynamic ? Nested structs

by ulumulu
Replies
4
Views
467

### Re: Dynamic ? Nested structs

Well relation between objects are actually weak. Anyway thankyou laserLight.
22. ## Thread: [RESOLVED] Dynamic ? Nested structs

by ulumulu
Replies
4
Views
467

### Re: Dynamic ? Nested structs

So you saying. that X* next will make lika a copy of new struct.
Hmm somehow I was trying to make it work like a class with (new = ) and constructor :x
23. ## Thread: [RESOLVED] Dynamic ? Nested structs

by ulumulu
Replies
4
Views
467

### [RESOLVED] Dynamic ? Nested structs

Good day to everyone. I am a bit lost , and I hope someone could help me a bit :)

Lets say I have a struct which could have the same look of struct as itself and that child struct the same ant so...
24. ## Thread: I am a bit lost there ....

by ulumulu
Replies
7
Views
537

### Re: I am a bit lost there ....

OK but if it is recursion ??? It does not create new objects. It should stay on the same address.
Does it ???
25. ## Thread: I am a bit lost there ....

by ulumulu
Replies
7
Views
537

### Re: I am a bit lost there ....

void Parser::materialParsing (char *source)
{
/*

{ - New Block
, /n /t/ /r ' ' - New element
} - The end of the block

*/
Results 1 to 25 of 99
Page 1 of 4 1