Beginners - April 2011 (Page 7)

SourceCode HELP!!!
 
I want to learn SourceCode, Please HELP me! How I can make Crossfire 1 HIT hack? Help me!
[3 replies] Last: We cannot. You'll have to look elsewhere. (by Moschops)
by Maerle
windows program
 
i would like to do a windows program. My compiler is DEV C++. I wrote a program to create and show a blank window. But it didn't work. Do I have to download ano...
[4 replies] Last: I have to do an classroom apresentation about ms-windows programing in... (by Maerle)
LNK2019 error: output protected vector member of class template via ostream friend method
 
Hey everyone, sorry for bugging y'all again, but I've been unable to figure this one out after an hour or so. And I have a little less hair up top... I've nev...
[8 replies] Last: Because your friend declaration originally was a non-template function... (by jsmith)
Measure processing time.
 
Hello, I'm trying to get some sort of performance measurements on my program. I used the difference between GetTickCount() at first, but the measurements var...
[2 replies] Last: Thanks, that's a great article on explaining which timing functions wo... (by Gaminic)
by tonnot
How to call the operator << on an object instance ?
 
I have MyclassA and operator << for it. From MyclassB I have a public instance of MyclassA ( MyclassA * theclassA; ) ( In turn, I have into my main a simple Myc...
[2 replies] Last: Thank you very much (by tonnot)
*char to char[]
 
Hello everyone, this is my first time on these boards. I recently started learning C++ and pointers are driving me crazy. I have created a function to whi...
[9 replies] Last: Thanks for replies and examples! (by Ventilaator)
About swap two pointers.
 
Hello Guys. I am writing a data structure about Linked-List. I want to sort my linked list from small to large. Now I got problem about my sorting function. I p...
[1 reply] : would it be better if you only swap values and not pointer's? for poi... (by writetonsharma)
Question about declarations using the reference operator in a declaration
 
I read through this page in your tutorial to brush up on pointers http://www.cplusplus.com/doc/tutorial/pointers/ and I understood it all very well. Then I ca...
[4 replies] Last: Thank you for your replies. I think I understand what's happening. It'... (by wrightak)
by lare26
Trying to change transparancy in sprite function
 
So I've been watching a tutorial for SDL. The guy separates the transparency function from the sprite placement function. I thought I would try putting the tran...
[no replies]
by lare26
Memory scan
 
I am trying to scan memory a through b. But I am getting issues with lvalues. #include <iostream> using namespace std; void scan(int start, int stop) ...
[13 replies] Last: This has given me a lot to look at. I think I will read those linked p... (by lare26)
Bunch of new questions
 
Ok, so I'm making this code and I keep trying to make 'checkBalance' a function but it's not coming out right. I have a massive amount of errors and 1 warning t...
[8 replies] Last: ok so I changed the file coding now all I have to do is declare inputA... (by avivafae)
Reading arrays from text file
 
Hello everyone this is my first post here as newly registered on this site Anyways, I have a problem with my c++ code reading from a textfile Here's my co...
[3 replies] Last: Um, now im having trouble with the file checking the program puts out ... (by siraulo23)
Linked List not printing the last element
 
Hi guys, OK, I know the answer to this problem is going to be obvious - but i can't see it for some reason. I wrote a class for a linked list. I added three...
[4 replies] Last: BTW: is LinkedList::~LinkedList(){delete this;} a suitable destructo... (by waqqassheikh)
by Vencha
Call a function, with another class as a parameters
 
I am working on an assignment (the Assignment is to make a game that uses different classes, collision and shows we understand concepts of OOP, not just make th...
[no replies]
System::Double::TryParse
 
Double^ test; System::String^ str="12.12"; if (Double::TryParse(str, test)) { rate=test; }else{ rate=0.0; } Got - Error 2 error C2665: 'Sy...
[4 replies] Last: Just delete ^ and it compile now. Luc Lieber Thanks. (by newone455)
Function for a rectangle
 
I'm in my first quarter working on my third C++ project and it's very tough for me. My program displays a grid of 20 rows by 30 columns and I am required to des...
[1 reply] : people like it more when you put the code in the code box it looks lik... (by sorthon123)
by SJPxx
MingW using multiple source/header files
 
Hi, I can't find any instructions on how to compile programs with multiple source files or header files. I am compiling via command prompt. thanks OS is wi...
[2 replies] Last: Or get MinGW , and skip cygwin altogether. http://www.cplusplus.co... (by Duthomhas)
Student Database. how to read from the file. the load function dosent worl.
 
#include <iostream> #include <iomanip> #include <cstring> #include <fstream> #include <string> using namespace std; struct stu_data { int id...
[1 reply] : Use code tags. "dosent werl" is not a valid problem description. (by Athar)
Function not recognized by cpp file
 
I have this function in my header file class fill { image getColor(); //image is defined in another class } and I have its definition in a .cp...
[10 replies] Last: I have my act completely together thank you, this is going to work if ... (by ostrich23)
C++ classes
 
Hello, I've been having trouble understanding this code from the classes (2)section of the tutorials on this website: // vectors: overloading operators exa...
[3 replies] Last: Thanks for the help prophetjohn, i've been trying to figure this out f... (by boolean)
April 2011 Pages: 1... 56789... 55
  Archived months: [mar2011] [may2011]

This is an archived page. To post a new message, go to the current page.