Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Sensor
May i ask why you needed to write this and also what you wrote it about?
why do you care lol. :mindownbusiness:
OT: Dont even try to do something like this if you cannot even use pointers
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
why do you care lol. :mindownbusiness:
OT: Dont even try to do something like this if you cannot even use pointers
So is there any problems with my coding style?
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
aV3PQmCJjM9L
So is there any problems with my coding style?
i didnt see. its just disgusting because adding a sound effect became a spam thread. its like OMFG
Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
why do you care lol. :mindownbusiness:
OT: Dont even try to do something like this if you cannot even use pointers
I am trying to learn by understanding the code, but yeah, I need the code. I am trying to understand how things work. If that is a problem to you well sorry. A month ago I knew nothing about C++, did not even know how to compile, now I know a little bit more. Every day I work on this I'm learning new things. If you learned C++ in 1 month, congrats. I don't, so don't hate.
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
i didnt see. its just disgusting because adding a sound effect became a spam thread. its like OMFG
It will not be big problem. Rather I love multi-threading applications. It makes good efficiency.
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
why do you care lol. :mindownbusiness:
OT: Dont even try to do something like this if you cannot even use pointers
Please do give me proper usage of a pointer.
Re: Sound on 60 seconds and color (Dead) Tags
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
I asked you to give me a proper usage, not to google "pointers" and link me to some MSDN article.
So, again, can you please give me proper usage of a pointer.
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Wizkidje
I asked you to give me a proper usage, not to google "pointers" and link me to some MSDN article.
So, again, can you please give me proper usage of a pointer.
ahh, its like adressing one variable to other.. if I'm not wrong.
Like Testme is value of Dont.
Dont * Testme
where variable (testme) is pointed to (dont) .
Now stop !
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
ahh, its like adressing one variable to other.. if I'm not wrong.
Like Testme is value of Dont.
Dont * Testme
where variable (testme) is pointed to (dont) .
Now stop !
Nope, the (Dont) class's (also struct or typedef) pointer variable (Testme) is pointed to invalid location.
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
aV3PQmCJjM9L
Nope, the (Dont) class's (also struct or typedef) pointer variable (Testme) is pointed to invalid location.
I'm just explaining a basic concept & declaration
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
I'm just explaining a basic concept & declaration
However your "basic concept & declaration" was quite inaccurate.
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
ahh, its like adressing one variable to other.. if I'm not wrong.
Like Testme is value of Dont.
Dont * Testme
where variable (testme) is pointed to (dont) .
Now stop !
Nope, not even close. Proper usage would be something like
PHP Code:
class Test {
public:
char m_szTest[512];
};
void doSomething(Test *pTest) {
strcpy(pTest->m_szTest, "Pointer");
}
void main() {
Test *pTest = new Test();
doSomething(pTest);
printf("%s\n", pTest->m_szTest);
delete pTest;
}
Re: Sound on 60 seconds and color (Dead) Tags
Quote:
Originally Posted by
Ronny786
You just find people to underetimate.
No. You're the one trying to point out he's better than Sensor (here).
Quote:
Originally Posted by
Ronny786
m not kind of guy like george to get furious by such chats.
And you're doing it once more. Funny thing to blame me for trying to bash people while you're the one actually bashing.
Quote:
Originally Posted by
Ronny786
+ i never googled what i wrote by myself.
Yeah, hence it being incorrect.
Quote:
Originally Posted by
Ronny786
+ it is correct enough
Not really, no. Doing "Dont * Testme" in C++ (assuming both are variables), your compiler will multiply "Dont" with "Testme". You know, as in 1 * 1 = 1.
Re: Sound on 60 seconds and color (Dead) Tags
Peter dude.. I was just trying to explain in short.
Only i wanted to say '*' this matters. i provided good def though.
Chuck topic!