General C++ Programming (Page 37)

enter array element until pressing enter (1,2)
#include<stdio.h> int main(){ int list ; int i = 0; int input; while (i < 50){ scanf("%d",&input);...
[20 replies] Last: gets_s() is optional; a conforming implementation need not have it. ... (by JLBorges)
static and non-static const int
Are there any differences between x1 and x2, x3 and x4, x5 and x6? When can I skip "static" word? ...
[5 replies] Last: It is internal: [quote=Standard] 3.5 . 3 A name having namespace scop... (by MiiNiPaa)
Class Functor - Please help! :(
Hi, I have the task of writing a class that stores a series of numbers. The length can be set in a...
[no replies]
by srowe
new C++ Standard question.
I tried inline operator overload and I got link errors. Is this because of the new C++ standard? I...
[2 replies] Last: Inline operators/functions need to be defined in the header. (by Peter87)
Back to the loops
Hey guys, I'm back. I brought this to my little nerd group and we tried it out for the random treas...
[6 replies] Last: We all do buddy :) Just keep working hard and you'll get better and be... (by TarikNeaj)
Upper Tringular Matrix
Hallo, I will get uppertringular part of a matrix.For example ı have a matrix : 1 2 3 4 5 6 7...
[7 replies] Last: Oh, I'm sorry, I didn't know what upper triangular is Besides, memc... (by Gamer2015)
cstdio to stdio.h
how to change the following code from C++ to C? It is the code of acm:
[14 replies] Last: ok thanks (by sirrunrun)
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)
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 <> - (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)
Pages: 1... 3536373839... 52
  Archived months: [feb2015]

Cannot post in this page. To post a new message, go to the first page.