No, nothing in this group. I did have some bad experiences as a newbie in the C programming chat channel ##C on Freenode (there is another chat channel on...
... O.k., I understand your point. I am sorry to learn these news. I've never touched Freenode, but it seems it's not a good place for beginners. Good to know....
... Satish, would you please be so kind as to include the relevant portion of the original text you refer to? This way no one of us can understand what you're...
I am a little new to C++ and I need a little help with some code. Here is what the solution is suppose to do. The user enters their current age and it is...
... <snip> ... And here lies the error; as you want to _increase_ the balance by interest each year, you should take: NewBalance = NewBalance * (1.0 +...
If anyone can provide suggestions, links or pointers on this question it would be greatly appreciated. How can one make code written in C++ executable in by a...
I have C programs (not C++) written for DOS, compiled using the old STDIO.H protocols, resulting in EXE programs for DOS, usable for batch file convenience. ...
... <snip> Hi Gerhard, personally I don't see any useful way to prevent malevolent people from decompiling code. As long as we're working with these Von...
... In principle, yes. There are console-mode applications available in the VS compilers. The safest way is to write your own stdio.h file and a conversion ...
... If it can be run by a computer it can be decompiled. The best you can acheive is to make the resultant executable as obfuscated as possible. Which isn't...
... Any legitimate company would not attempt to decompile your code and/or cancel your contract and continue to use it. Legal contracts such as "Terms of Use"...
hi , this saksham wnt to knw abt this command which i mention below memcpy() //this is an command which is used in c and als in c++ program but the problem...
I can't seem to find this segfault. Can you all help me? Here's my code: 23 bool Battle::initialize() 24 { 25 if (SDL_Init(SDL_INIT_VIDEO) != 0) 26 { 27...
... <snip> First: memcpy() is a C runtime function and should NOT be used in C++; the whole memory management system in C, consisting of malloc(), free(), and...
I have a project - an RPG game I worked on years ago that was written in Java. I'm attempting to port it to C++. I've hit a small snag. I have two classes,...
... Hi Michael, I totally understand that you didn't like their suggestions. Sometimes the experts over there tend to exceed the target. :-) The "include...
... I've been thinking about this all afternoon and I've come up with an idea; I'll remake my Battle class into a BattleDriver class, and then move all the...
OK, As a recap, I have moved my graphics-drawing stuff to a class called Draw and want BattleDriver class to manipulate the screen through a Draw object. I...
... My question back is: why do you want to have the "party" in the Draw class? An object draws itself onto the screen using its very own Draw object; why on...
... Here's the code for draw.cpp. Maybe it will help things make sense: #include "draw.h" #include <stdio.h> #include <stdlib.h> #include <SDL/SDL.h> #include...
... Better yet, I've posted a screenshot of the running program in it's current state to http://www.espersunited.com/~michael/Screenshot.png . See the area at...
... I've got a theory; Draw doesn't need access to the Allys or even the party array; just the data inside the Allys. I can write a method in BattleDriver to...
I have a main.cpp which ATM is the driver of my program. main creates a BattleDriver object, which in turn creates a Draw object. I have a method in...
... <snip> Now I understand why you want the "party" array available here. May I suggest that you change the design at this point? If I understand your code...
... In case anyone was wondering, the problem was in this line: battledriver.cpp:void BattleDriver::displayScreen() { draw.drawScreen; } It should have been: ...
Hi Guys I have inserted the portion of the codes which gives me an error. ... This is the small part of <frontend.h> typedef enum fe_status { FE_HAS_SIGNAL...
I have started C just few days back and i completed Till Nested if- else...Now the problem is that " I have completed all given exercises in the book and i m...