- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 22
- Posts with Upvotes
- 19
- Upvoting Members
- 22
- Downvotes Received
- 12
- Posts with Downvotes
- 9
- Downvoting Members
- 8
Almost done with my 2-year Associate in Applied Science-Programmer Degree =)
- PC Specs
- Windows XP
Hey, I just started learning C++ a couple of days ago and I'm interested in making an automated bot for an MMORPG ie. Runescape, MU Online, Silkroad Online, Last Chaos etc. It would be for personal/private use, so only I would use it. I was wondering, is there a quick … |
|
I am trying to learn C++. I wrote a little calculator using class to see if I can do it and give some practice. The following is the code: [CODE]#include <iostream> using namespace std; class Calculator { float a, b; public: float add(float, float); float subtract(float, float); float multiply(float, float); … |
|
Hey guys, I have been reading the forum for a while, but I couldn't find anything that could help to figure out my current assignment. Its a very simple program, but somehow just doesn't work for me. I'm a beginner and I hope that somebody can explain what am I … |
|
No double posting. Add only one to the number of the previous poster. Go! 0. |
|
So I have always developed in a 32 bit environment, but now have the opportunity to step into 64 bit development. What I am working on requires a lot of pointer aritmatic, and I am a little confused how primitive data type sizes vary from 32 to a 64bit platform. … |
|
List alphabetically ways to lose your job. :D Ill start with A,next person do B,etc......... A... ALLOW your friends to come to your work place and have their band practice.. |
|
Input the minutes, then the seconds, and it will do the rest. Pretty simple but I just thought I'd post it. Made as a quick test for my game. |
|
For the life of me, I can't figure out what I am doing wrong! It has been sometime since I have had use for my own list type, but since std::vector is pretty worthless for what I need it to do, I need to relearn templates. [code] #include <memory.h> template … |
|
[CODE]#include <iostream> using namespace std; struct account { account(); int accountnum; float balance; float interestrate; }; account::account() { accountnum = 50; } struct account2 { account2(); account * data; void test(); }; account2::account2() { } void account2::test() { data->accountnum = 1000; } int main() { account test; account2 test2; cout … |
|
I'm trying to make it where I can draw an square with the values in the global array. I made it work without vertex array before but now I need to save it in array so I can possibly delete a square with just a mouse click. However I can't … |
|
I have a simple doubly linked list for a class I am in and I keep getting a seg fault on my last line of code, no matter what i make it. I can put a bunch of random couts and it will print them all then on the last … |
|
after vising cplusplus site and checking my book i havent found any example or explanation... so here it is: i have a function called "string stringreturn()" now inside i have INT LIFE , and INT NUM i would like to return the following "blabla bla (INT LIFE VALUE) bla bla … |
|
Hi,I spent all night trying to figure this out. Could someone take a look and show me what I'm missing? I getting this compiler error: [B]unterminated #ifndef [/B]. But I have [B]ifndef[/B] at the beginning and [B]endif[/B] at the end of the class. [CODE]//Header file. //Class definition for teh stack … |
|
Ive been trying to understand this subject for two days now, but can't seem to get it working. My setup is two consoles, a Server console, and a server message board console. The Server message board is a child process of my Server console. The Server will send messages to … |
|
Good Day... the problem is that the Jbutton is not displaying in my Jpanel. can you help me, this will help me a lot, Thanks Here's the code [CODE] import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.net.URL; import javax.swing.JButton; import javax.swing.JOptionPane; public class GameBoard extends JPanel implements ActionListener { JButton … |
|
Hi all! :) I'm really curious to know how fast can you type? Go here: [url]http://speedtest.10-fast-fingers.com/[/url] and test your speed. Let's make it a challenge - WHO Can type very fast? I scored 63 words per minute, are you faster than me? If yes, then show me! :) |
|
[CODE]union { int a; char b; char c[10]; }u1; void main() { int l=sizeof(u1); printf("%d",l); getch(); } [/CODE] This gives the output as 10, shouldnt it be 2 + 1 + 10 == 13 ??? Can some1 explain ? |
|
explain how to pass parameter to thread?? |
|
Hi! All.. It is asked that Can a C++ programme be converted to an i-phone app?, by means of any converter or something like that. |
|
Hey guys I basically finished reading Beginning Visual C++ 2010 with Ivor Horton, I skipped the MFC part as I am more interested in the Win API which there's was only one third of a chapter on(not enough) and I was wondering if Programming Windows, Fifth Edition by Charles Petzold … |
|
Hello! :) i need to make something that change the image inside a picturebox every 1000 milisec for a 6 pictures (for example), so i search about a function that can hold the code for this time and i found Thread.Sleep(1000) (after use the "using.Threading" ofcourse) so i put that … |
|
I haven't really found anything on the topic other than its bad to cast, but I would assume there is a "proper" way to accomplish this. To illustrate: Class B and Class C both inherit from Class A. I have a function MyFunction(A obj); In MyFunction() I would check if … |
|
I have a homework question that instantiates 4 node pointers, *p, *q, *r, *t, and the first three have a number, 1, 2, and 3 respectively. I have to draw out (using 'blocks' and arrows) what the memory would look like when these lines of code occur: p->next = q; … |
|
I am confused! [code] void AnimationEngine::AddAnimationSet(Animation* animations) { AnimationSet* newSet = new AnimationSet(); for(int i = 0; i < (sizeof(animations) / sizeof(Animation)); i++) { for(int n = 0; n < animations[i].AnimationConditions.size(); n++) { //newSet->conditions is of type std::vector<std::vector<myType>> //animations[i].AnimationConditions is of type std::vector<myType> newSet->conditions[i] = animations[i].AnimationConditions; } } //Stuff unrelated … |
|
I am writing some code to simulate a football tournament by comparing several teams on several parameters. I need to be able to knock out teams, edit some stats mid simulation, and be able to easily access individual teams data, what structure would I be best using? I had thought … |
|
Hi Guys, Can you please take a look at following image link and let me know by using what language(Tool or GUI Builder) I can create a GUI/Application like that. I mean the view of the GUI(Color, Style,Button,and Menu bar...) [URL="http://behseini.persiangig.com/GUI/GUI.bmp"] http://behseini.persiangig.com/GUI/GUI.bmp[/URL] Best Regards |
|
Hi programmers!) I'm developing a custom component and I can't understand - how to make a property which can show a window with options like "font" property for button, for example ? please tell how to do this from where i can find it out. big thanks in advance)) |
|
Hello to everyone! I am an engineering student and we have this class wherein we use Microsoft Access. Our instructor gave as a hands on homework using the MS Access. As I do it at home and inputing numbers and etc all that I need to input, suddenly this [COLOR="Red"][B]ERROR[/B][/COLOR] … |
|
i need it can some one help me out with it quest -- write a program in c to input any 10 numbers and print how many are even and odd waiting for responce |
|
Hello, I'm considering serialization as a means of creating a simple database for an application. I'm wondering if I'm going to run into any problems trying to serialize a list of a record-style struct comprised of simple data types, like strings and int, maybe a a DateTime or two. so.. … |