General C++ Programming - March 2015 (Page 13)

by srowe
I tried the operator overload: link errors
 
class GRectangle : public GObject{ public: GRectangle(int x, int y, int width, int height);...
[2 replies] Last: Are you sure it does NOT work with inline? It works for me with inlin... (by Gamer2015)
by srowe
I want to overload << and >>
 
I'm trying to remember how to stream my class to an fstream. say class a{ int x; int y; ost...
[2 replies] Last: Thank you, that will work. :) (by srowe)
Password
 
How can I change the character when typing a password from letter to asterisk(*)? Thanks!
[10 replies] Last: Yaaaaaay! Thanks Bro coder777. Its working now! :) (by ryanjoshiii)
C++ program that will compute baseball statistics
 
PLEASE HELP!! The program will read in the id number, number of wins, number of losses, number of...
[1 reply] : Please put your code between code tags <> - http://www.cplusplus.com/a... (by TarikNeaj)
Cipher Encrypt/Decrypt C SourceCode.
 
Hello guys, I know the concept of Cipher encryption, there are two kind of encryption. 1) Specifyi...
[4 replies] Last: Thanks. (by Subscriber360)
by yj1214
friend class declaration
 
#include <iostream> using namespace std; class Ham{ public: Ham(); private: ...
[8 replies] Last: hamFriend(Ham &sfo) &sfo means you need to pass address, right? but... (by Peter87)
by Dkob1
Recursive function
 
How do I write a recursive function to compute (3^2)+(3^3)+(3^4).......+(3^n) ?
[2 replies] Last: cmath provides pow to make the 3^n part int name_of_the_function(in... (by Gamer2015)
Circular Linked List SPLIT
 
I have a nodelist of 7 nodes, and since its odd, the first node should contain one extra node than t...
[10 replies] Last: I see two approaches: 1. Do all the the low-level work in CLinkedList... (by keskiverto)
by cflor
problem with program
 
I am trying to do this program but i am getting many errors. If you understand please help me. what...
[13 replies] Last: conspiracy theorist.... (by jasonwynn10)
Circular Linked List RANGE DELETION!
 
I have to delete the nodes in a circular linked list which contains the values between the min and t...
[15 replies] Last: oh yeah, stupid me didn't think about it I forgot the else statement. ... (by Gamer2015)
for some reason file won't read my data
 
Data name is cardnumbers.txt data here 4120670000624855 4266901024841678 6011002543517833 6011208947...
[3 replies] Last: jae0014 please use code Brackets (by jasonwynn10)
multiply every odd number?
 
So I have this number 6011002543517833 (6*2) 0 (1*2) 1 (0*2) .... 12 0 2 1 0 ... 1+...
[3 replies] Last: try a double or long double -edit- and anyway what method are you curr... (by jasonwynn10)
Code::Blocks Website down?
 
Does anyone kno whats happening with code::blocks? Is it a temporary thing?
[2 replies] Last: maybe they're updating the interface? or adding a new version of code:... (by jasonwynn10)
by xystus
Artificial intelegence programming for a CS:GO prediction app
 
I'm working on a prediction app for the game csgo. Basically what it will do is run through a game o...
[4 replies] Last: dude, that is possible but as complex as the human brain. and I'm nt s... (by jasonwynn10)
I don't understand...
 
I don't understand why this program is not working. It was working on this pc before and now it isn'...
[4 replies] Last: okay so? I am not the person who wrote this program, I had a friend he... (by jasonwynn10)
what does this code mean?
 
hi, could someone please explain to me what this code below actually is doing to my program? thanks ...
[1 reply] : The extern "C" tells the compiler that it shouldn't mangle the names... (by dhayden)
IP header data structure problem
 
My sniffer that uses raw sockets displays some data related to ip header in a wrong way, three unsig...
[7 replies] Last: Alright, thanks for clearing it up. (by Clint Westwood)
Read and process input parm file
 
Read input parms in from comma delimeted file with ints and doubles. input file is myInput.txt whic...
[2 replies] Last: I will look at stoi and stod. Thanks very much for helping me with thi... (by r322benson)
by yj1214
Does namespaces in header file effects cpp files?
 
Let's say I have a foo.h #ifndef thingie #define thingie #include <string> using namesp...
[3 replies] Last: If you included iostream in the header already, you don't need to inc... (by keskiverto)
')' expected error at definition of function.
 
i am getting an error " ) expected" on turboc++ v3.0 the program is about to insert and manipulate ...
[2 replies] Last: oh man that was the problem. thnks..... (by amarjit86255)
March 2015 Pages: 1... 1112131415... 28
  Archived months: [feb2015] [apr2015]

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