- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Please help with the following code, I tried casting, and the such but this keeps getting rounded [CODE] public void rotacion(Point[] pts, int degreesIncr) { //here... I tried casting all combinations, even casted each variable, each //number, and nothing, radians keeps being integral. but if I sustitute a // constant … |
|
Program descr: Im trying to make a windows manager for windows I might draw in CONSOLE. the plan is to draw manually windows in the console in an objectified way. instead of drawing the windows using console coordinates I create a buffer then use [URL="http://msdn.microsoft.com/en-us/library/ms687404(VS.85).aspx"]writeConsoleOutput[/URL] to write this buffer to … |
|
Re:
I am inclined to suspect that Borland C++ compiler 5.02 is seemingly full of bugs. Even though my C++ codes could be bug free, it reported External errors on compiling and failed to create an EXE file to run. Thanks to Mr. Salem, I have successfully compiled the above codes … |
|
Re:
so here the thing im practicing c++ just started all this is in cmd :P and im making combat simulator as of a project on another forum that i guesed good practice so im doing it but i decided to make 3 classes :archer , mage , barb and i … |
|
Re:
hey guys, I have the assignment to build a program to decode a cryptogram puzzle using provided word tables. for each table the program should print the decoded text generated by that table and the number of actual english words in the decoded text. the encoded text is in the … |
|
I have the following code and it wont compile, it says no matching function for call to `autop::autop(autop)' at this part [CODE]autop j = f();[/CODE] I don't understand why the copy constructor wont accept the autop copy Im sending it. [CODE]#include <iostream> using namespace std; class autop { public: autop(int … |
|
I have this code: in my judgement it should print 1 and 2, instead it prints 0 and 1 some advice pls... Im using dev c++ [CODE=cplusplus] #include <iostream> class A { public: A() { arr = new int[2]; } ~A(){ delete [] arr; } int * arr ; }; … |
|
Im trying to make this Hash Table to work, but I get these errors on linking time main.obj : error LNK2019: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ) referenced in function "public: __thiscall HTable::~HTable(void)" (??1HTable@@QAE@XZ) StringTable.obj : error LNK2001: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ) HashTable.obj : error LNK2019: … |
|
Re:
i'm currently writing a program that needs one small piece in my opinion in order to work. i have an array which reads in a bunch of numbers (call them addresses, an example is "003124") and counts the amount of addresses at the moment. i need this to be passed … |
|
Ah right! Im on my first steps on c++, What Im trying to do is have this "basic node" class wich just take an id and from there usign inheritance make "linked list node" and "binary tree node" classes my code so far looks like this [CODE]void main() { sLink* … |
|
[CODE]void StrCpy(char * Dest , char* Src ) { while(*Src){ *Dest = *Src++; cout << *Dest ++; } } void main() { char* string1 = "\0"; char * string2 = "EL"; StrCpy(string1, string2); //cout << string1; //must output EL } [/CODE] Im trying to output EL after its copied to … |