Beginners (Page 4)

by Ganado
Read 32-bit signed vs unsigned integer from file
I have a binary file that contains the number 44100 encoding into 4 bytes. The file, in binary form...
[8 replies] Last: Thank you! You all are right, the problem was the int8_t for the indiv... (by Ganado)
by Oboher
cout a char* function only prints address
I have this function to concatenate two const char*, but I'm having a lot of trouble managing to get...
[4 replies] Last: @AbstractionAnon, you are absolutely right. I should not write code w... (by Thomas1965)
String Arrays
Helleue :) I am trying to create a quiz where the user can set their own questions, and answers, an...
[2 replies] Last: Wow, didn't think i would miss the line 13 thingy, anyways thank you s... (by olsarets)
Help with Code Blocks
I am coding a good amount of c++ programs on code blocks, but when i install codes blocks, and i clo...
[1 reply] : This is an exceptionally confusing question. What do you mean by unin... (by wizebin)
Returning multiple values
I was thinking of putting in functions for enemy encounters. Something like: //enemy.cpp int ...
[3 replies] Last: @Tarik Thanks! I am looking forward to use those :D @naaissus I will ... (by TheLoneWolf)
by kvway
Loading an ugly input.
Could anyone tell me how to load this input in the most elegant way possible ? I just need to know h...
[1 reply] : This "ugly" input looks like JSON. One way would be to look for an JS... (by Thomas1965)
Array in C++ - Beginners Help
Hi, I'm having some doubts about sum in arrays. --> As far as I know, to sum values of collumn...
[3 replies] Last: Hi, When using any of the scanf functions, make use of it's return ... (by TheIdeasMan)
no extern declaration of an intance possible?
Hi I want to create an global object of a class, is this possible? for a normal primitv type i c...
[9 replies] Last: @ Jensdvvgsr Can I ask why do you want a global instance of your cla... (by TheIdeasMan)
if/else question
Hello, I'm experimenting with if statements and have encountered something I don't understand. I do...
[7 replies] Last: It is not quite clear what the the operator>> does in case of an error... (by coder777)
getting the mode in a sorted array
i'm stuck on how to get the mode of an array after sorting them out. #include<iostream> using n...
[2 replies] Last: Your sorting functions don't return anything, they should be void. You... (by naaissus)
Problem with using a switch()
So I am able to get my code working, but on void RollDiceAndMove(), I cannot seem to get my code to ...
[2 replies] Last: Hi, Some thoughts: line 10 : Functions should only do 1 conceptual ... (by TheIdeasMan)
by ianS
Please Help Calling Function, If then
Hello. This is not a homework question but was a lab that I have constructed myself. I am having a d...
[2 replies] Last: @ olsarets IMO there is no real need to use classes for this simple ... (by TheIdeasMan)
Next step
Hi after anything thx to read my topic Now i have finished cpulusplus tutorial in c++ and Bucky tut...
[2 replies] Last: Thanks for your reply But now i just have to made some bullshit progr... (by ninomino19)
C++ Do-While Issue
Hello Everyone, I Was Asked To Make A Basic Database,Everything Works Okay Untill The Do-While Part,...
[4 replies] Last: Hi, There are a bunch of things I would change: C++ include files do... (by TheIdeasMan)
by rain
error adding symbols: Archive has no index; run ranlib to add one
Hello I have problem when I try to use my library. rain@rain /harjutus $ make test g++ -Wall -std...
[4 replies] Last: Hi, Just wanted to reiterate this: (by TheIdeasMan)
Can someone check my code and help me with improving it please
Does the code below look right? Also how do I do testing for this code. I need to : Include testin...
[4 replies] Last: HI, I had these compile errors: 4:7: warning: ISO C++ forbids decla... (by TheIdeasMan)
by a1234d
uber c++ noob needing simple code
Hello, I am very new to the whole C++ concept and am just trying to write a simple program. All I ne...
[2 replies] Last: Thanks! Works like a charm..can't believe I didn't think of this! (by a1234d)
Issues learning C++
Alright ill start off by saying who i am. My name is Patrick im 28 and i have been trying to learn C...
[4 replies] Last: A tour of c++ by Bjarne Stroustrup is probably the best book for begin... (by TarikNeaj)
by dn90
Imitating a vector's constructor?
Chain class: template <typename Object> class Chain { public: explicit Chain(int value = 0) ...
[3 replies] Last: How can I write it so that if the chain isn't instantiated with a val... (by cire)
Friend function wont recognize privates members
For some reason in my friend function AddUp, it is not recognizing my private members. Any ideas? Th...
[1 reply] : friend Rational Add u p(Rational first, Rational second); ... (by cire)
Pages: 123456... 47
  Archived months: [dec2015]

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