Beginners (Page 4)

array to vector
 
Last night, I learned how to build a 2d array that holds variables from a text file. Today, I am lea...
[2 replies] Last: I have 36 numbers, and I want 5 rows. This makes four extra empty spac... (by blankpat)
function is not behaving!
 
I have parced and hacked this function every which way, but can't figure out why it gives the wrong ...
[2 replies] Last: I think that you have a typo in the second if statement. 40000 should ... (by vlkon)
by vlkon
Handling C++11 <random> - separate class and *.cpp file
 
Hello everyone, I wanted to ask for an advice about how to create .cpp file (new class) that will h...
[no replies]
Help with comparing arrays
 
I have an assignment to write a program to grade a multiple choice quiz. I do not have to ask each ...
[9 replies] Last: I got it! Thanks everyone for the help! Tanya (by treed2010)
deleted repeated characters
 
Hi guys,I need help with deleting repeated characters in a string for example if the user inputs aa...
[no replies]
by snigg2
Need help with error message.
 
Im writing a program that reads credit card numbers and tells you whether they are valid or invalid ...
[3 replies] Last: Are you sure it is an error and not a warning? Also the length functio... (by giblit)
by emacos
free() function
 
Hello everyone I am new to the forum and I was trying to deepen my knowledge on c, in particular I'm...
[2 replies] Last: thanks Jaybob66, so it is for the same reason (the pointer update) th... (by emacos)
adding elements into arrays
 
Hi, I am a beginner and I want to learn how to insert an element into an array thanks!!
[4 replies] Last: The problem with your code is that it always inserts at num . That's ... (by AbstractionAnon)
by Kazza
Using Opengl to draw 2 rectangles
 
I am a complete beginner and I was wondering how easy it would be to draw 2 simple rectangles in ope...
[4 replies] Last: Wow, thank you so much this is better than I expected! Thank both of y... (by Kazza)
Why the -1 in this for loop
 
Why in the bottom for loop is it "index = numbers_used - 1;..." index was initialized to 0 and the...
[4 replies] Last: nevermind it only increments after checking for the period (by burton1995)
by CroP
How can I make my program more efficient?
 
I am doing a project where I have to make a random number guessing game. The program works fine but ...
[5 replies] Last: Although Visual Studio lets you place main() as a function call you w... (by Softrix)
Don't understand Sockets (Linux)
 
Hello I read three books about sockets but I just don't understand them. This is what I know aft...
[8 replies] Last: Thanks! :) Will help me further for sure. ;) (by Nielyboyken)
Nested Switch
 
I have a problem, the code runs but when it comes to the part when you choose what type of phone. it...
[3 replies] Last: Thank you guys! I've fixed the code and it ran well! Really thanks to ... (by kaizerryo123)
I Would Like Help Understanding Linked Lists.
 
Hello! I have been learning C++ for a couple months now and am needing help to understand linked lis...
[2 replies] Last: Your getData function is creating a new instance of your NameDataSet i... (by discofire)
by Jarv
W8030 warning message
 
Hi Guy's can you help! I've modified a delphi code to C++ [ find Radius and Center Point from thr...
[5 replies] Last: Hi Chervil Thank you for your help, your right the swap() function do... (by Jarv)
by ameneh
Different Mersenne Twister in different object
 
Dear All I am working with Mersenne Twister in the distributed network. In the network I have a di...
[7 replies] Last: Random number engines (like std::mt19937 ) are required to generate i... (by JLBorges)
Set() from one class and Get() from another
 
Dear all, I have some experience in c++; but in involved OOP, I am relatively inexperienced. I am tr...
[8 replies] Last: Let's say that you want to ask your colleague Alice about something.... (by kolahalb)
by MSH
How can an int be converted to a char
 
I would like to store an integer to a character array and then display the character (which would be...
[9 replies] Last: @dhayden sure he wont understand a single thing if he just use sprintf... (by Lorence30)
develop simple system for business
 
A developer wants you to develop a simple system to monitor his business processes. The processes ...
[5 replies] Last: Okay, so each item of stock has a name and an amount. You need a coll... (by dhayden)
PDF
 
This morning i joined an organization that will teach programming to other freshmen for their prepar...
[8 replies] Last: @mutexe i think it would be worst if i ask on java forum because ,like... (by Lorence30)
Pages: 123456... 84
  Archived months: [may2014]

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