Type: Posts; User: eightyfive
Search took 0.01 seconds.
April 21st, 2013, 08:08 PM
alright, I will
#define XPOINTERTYPE unsigned long
#define XVARTYPE int
unsigned char OFFS = (unsigned char)sizeof(XVARTYPE);// Up to 255
April 21st, 2013, 01:33 PM
ignoring what? I don't insist or prove anything, I just said I followed his suggestions.. didn't you see that part? I used an array instead those 10 static global variables. so why you say I am...
April 21st, 2013, 07:22 AM
sorry for the delayed answer.. I was on my vacations XD
well thanks for making a point @ovidiucucu
let me tell you that I already noticed that some people that participated here
March 24th, 2013, 08:01 AM
You had a wrong interpretation there, because if you read correctly this post you can
discover that I was talking about the bugs in the code, not about compiler bugs.
March 24th, 2013, 01:28 AM
guys, I want to say that I understand what Paul said. Is not that the C/C++ language is unsafe, but is rather that undefined behavior can occur if the program/programmer is out of the specifications....
March 23rd, 2013, 03:58 PM
you don't even know what bugs are we talking about, if not you probably can point to the specific line in one of the different codes that were exposed here, so you can show us what specific bug you...
March 23rd, 2013, 02:26 PM
that's your story, and you say I'm a fool because I found some compiler bugs?
is not my fault if those bugs are there, bugs that you didn't have idea of their existence,
that's why you can't say...
March 23rd, 2013, 06:27 AM
I'll make a stew of all exposed codes (buggy codes) XD.
Here's the Paul's code
static int x;
static int y;
int *z = &x + 1; // What is the magic...
March 23rd, 2013, 02:00 AM
The funny thing of all this, is that you still are speaking the same
argument that is very obvious to anyone (FOR ME TOO), it's like you need to say it again
so you're going to believe it.
March 22nd, 2013, 10:14 AM
Alright, but why you tell me that again? I tell you the reason.
Because Paul came here with ANOTHER code and that brought again the discussion about the un-guaranteed behaviour. So if you are...
March 22nd, 2013, 09:51 AM
if the code is "buggy", as you only said (speak for your own please), then why
you tell that to me? is not even my code, is Paul's code. he posted it for
a reason that still I don't...
March 22nd, 2013, 07:55 AM
Well Reubens, it seems you are the only person here that knows how to answer something.
I really appreciate that kind of answers, no matter if I was right or wrong.
Not like Paul that doesn't...
March 22nd, 2013, 07:32 AM
To Paul, just to show you that I don't want to fight you, because I am very objective when I talk about programming issues, I show you another image that can make a point of why I was giving...
March 22nd, 2013, 06:19 AM
the only code that failed is yours. mine worked as you saw in the image, if that wouldn't be the case, then I didn't answer you to that kind of program you came with, that is irrelevant to all this...
March 22nd, 2013, 05:08 AM
Correct, no one needs to be in contact with my code as long as they can get the idea of all this. Something that seemed hard for a lot of people till now. maybe because they never saw something like...
March 22nd, 2013, 04:53 AM
laserlight, you know I said before this is all about typecasting,
I came with a test code that is working for me, and is good enough to show my point.
if the code does not work in x64 systems or if...
March 22nd, 2013, 04:37 AM
useless functionality? since this is just another way of doing things and it's working so probably you have no idea what's going on at all.
the implementation works for me, considering that the code...
March 22nd, 2013, 03:52 AM
don't say I don't accept anything because I didn't say I don't accept something,
that is just what you say.
the code doesn't need to be changed since it's working in a 32-bit system or at least...
March 22nd, 2013, 01:08 AM
yeh stop saying that an array must be used or I will get crazy of hearing you, I told you the problem doesn't involve the use of an array, struct or whatelseever.
Also , you seem to know about...
March 21st, 2013, 03:03 PM
Reubens, think now in this program
REMOVED BECAUSE IT IS NOW IN THE FIRST POST.
which is basically the same as the first, tell me how would you get it to work when it is compiled as a...
March 21st, 2013, 09:58 AM
wrong once again, because he never got scared at all. he solved his own problem by his own, and he never saw this code,
so he is safe and sound :D
March 21st, 2013, 08:53 AM
Sorry guys but I have to say your comments are very poor of quality,
because in first place, the beginner has nothing to do with all this, maybe Paul came with an acceptable appreciation..
March 19th, 2013, 05:15 AM
I recently helped a beginner with solving some situation. he needed
to load 10 integer numbers, getting to list them and to tell how many of them
resulted in a repetition (and how many times!).
February 23rd, 2013, 04:47 AM
yeahh well about that of the strlen, i knew that it would be made every loop, but this is actually the second version of this program.. see the previous version:...
February 22nd, 2013, 02:15 PM
I'm sorry :( the moderator, can move this to the correct section?
Click Here to Expand Forum to Full Width