Beginners (Page 4)

Standard way to create and hold lots of similar objects?
 
I'm working on creating a maze using SFML, and I was wondering what the best way to go about creatin...
[11 replies] Last: It is a vector which contains strings std::vector<std::string> Amd t... (by MiiNiPaa)
by msrt92
want to create dynamic arrya in classes
 
I want to create daynamic array in classes. then add and delete element from that array i tried it ...
[1 reply] : #include<iostream> /// using namespace std; class set { private: ... (by anup30)
Please help me ...
 
make 10 simple questions with C++, every correct answers, will get 10 score and wrong answers will g...
[1 reply] : can we see your code youve made so far? (by Lorence30)
Where to get X Windows Source Code
 
Hi Would anyone know where to get X Windows Source code. I can find links which provide individual...
[2 replies] Last: is this X11? It leads me to this. http://cgit.freedesktop.org/xorg/x... (by dominover)
Loops within loops
 
Hi, so in my Uni course I've been given this code that will be below and they have asked me to "unde...
[6 replies] Last: @Jezze Yeah thanks mate, after just tinkering around deleting and chan... (by Collwyr)
Function to read data types, help!
 
I have to create a program which asks the user (through a function) to enter data depending on the d...
[3 replies] Last: As you expect for your program to work with human and not a script, da... (by MiiNiPaa)
Calculator help
 
Hi, I wrote this calculator code, but when I run it, as soon as I input the operation, it prints the...
[8 replies] Last: Enum behaves as a glorified int. enum Operation { OPERATION_SUBTRACTI... (by MiiNiPaa)
C++ Read File Into 2 Dimensional Array
 
Ok, my code seems to read the file but not from the very begging and adds some extra numbers at the ...
[10 replies] Last: use 2 loops. first one for 1st row of cols and 2nd one for the rest. u... (by anup30)
Copying text file to struct array (1,2)
 
The textfile looks liket his: Martin Smith/ 22 2.2 Austin Clinton/ 18 3.1 Johnson/ 19 2.9 Magg...
[29 replies] Last: it sets the position from where you read. f.seekg(0) is starting posit... (by anup30)
by Seag
Deleting nodes in a queue with linked lists
 
Hi, I can't for the life of me figure out this memory access error! I have highlighted what I think ...
[1 reply] : Line 6: rounds is independant from the amount of elements in your li... (by coder777)
Ignoring whitespace?
 
I have to create a function which reads 6 characters from the user and stores it into an array: c...
[3 replies] Last: Depending. Should you read space delimeded characters? Should you thre... (by MiiNiPaa)
Elevator Program - Newbie to C++
 
Hey everyone. Im just starting out in C++ and need a little bit of help on a project I am doing. I h...
[1 reply] : Looks fine so far. Might be a little strange to call your object by th... (by soranz)
Comparing two arrays
 
Ok, I highlighted my problem area at the end of my code in bold (line 103 on). What I'm trying to...
[6 replies] Last: Good to know for future reference. Thank you. I actually figured out... (by Ascendant78)
to find the minimum
 
Hi!! anyone can give me hint how to start this. here the function that im using , but I dont know ...
[9 replies] Last: The other way using the index is: #include<iostream> int findMin(int... (by kemort)
Pointer issues
 
I am not sure why it keeps telling me invalid converstion from 'int' to int*' three of them for line...
[4 replies] Last: ah I see. Alright I guess i'm going to have to take a breather and fig... (by MRangel)
Global to local variables
 
Hey so how hard would it be to convert this code to have no global variables. I found out that my pr...
[2 replies] Last: Not allowed to use array's haven't learn them yet (by Gingerbread)
Inheritance question
 
Hey guys, This week in my CS class I'm learning about inheritance. We are asked draw 3 UML diagra...
[3 replies] Last: No problem =) (by crimsonzero2)
Dynamic Array "Resizing"
 
I have to write a program where the user will input integer numbers. How many numbers they enter is ...
[6 replies] Last: Your resize function looks correct to me but the main loop isn't right... (by dhayden)
Learning functions and need some help...
 
Hello. I am getting into functions in my computer science class and have an assignment that requires...
[4 replies] Last: You don't have to initialize payRate, consultTime or totalIncome they ... (by mobotus)
Large Numbers show up as negatives.
 
Hello, this is my first post on this forum so I'll tell you a little about myself first. I am prett...
[4 replies] Last: I havent even gotten to making preventative code for numbers less than... (by popsaregood230)
Pages: 123456... 105
  Archived months: [aug2014]

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