General C++ Programming (Page 47)

I feel like I've gotten the hang of C, stdio.h, and stdlib.h; how do I go about programming 3d graphics?
I feel I pretty much know how to use all the keywords and features in C as well as the functions pro...
[2 replies] Last: Hi Disch, Thanks for the quick reply, I've been reading the online bo... (by comradejonathan)
by nik65
trouble with webscraping and arrays
I am trying to complete a function that takes info from a string, that has been taken from a web pag...
[no replies]
Approximating 'e' Using a Loop -- Euler's Number Problem
I am supposed to have a loop that terminates when the difference between two successive values of 'e...
[15 replies] Last: Valid observation. I didn't see that formula from the OP, so you might... (by Duoas)
Knapsack Conceptual Doubt - Dynamic Programming
I'm trying to learn and implement the solution to 0/1 Knapsack Problem and I checked some videos and...
[no replies]
Operator Overloading Methods
How the operator over Loading methods are called in c++? explain with copy assignment operator and ...
[no replies]
Abstract "static" class and performance.
Hi, I have the following code: class Element { public: .. virtual unsigned NumberOfNod...
[1 reply] : I have one instance of an element, e.g., Triangle for each mesh Share... (by MiiNiPaa)
Convert string IP to unsigned int
I need to convert a string IP to an unsigned int (uint32), but however solutions I've found elsewher...
[1 reply] : I ended up using `inet_addr("")` instead. Bear in mind th... (by cybermonkeyso)
if statement to read number negative or positive not working
So I tried creating a test code for reading a negative number and positive number but whenever I ent...
[2 replies] Last: the value -1 is type of int, so when you compare un1 <= -1, at this m... (by mzzz)
by Glaven
Divide User Input by 2 Until 1
Hii,, I need to make a program that takes in a user’s number and keep dividing it by 2 until it...
[7 replies] Last: at line 15 break; will be unconditionally executed, that will result ... (by mzzz)
Please help
My project required four pattern i. a square with a left to right diagonal in which the diagonal is...
[6 replies] Last: Yeah. Goto function is good at some point. :) But I suggest using "\t... (by jemeripol)
getting problems by using vector in c++
hello guys, right now i get some problem in the vector. when i write the code below and run it, i ca...
[1 reply] : branch (input> 100) has no exit to prevent it from calling grades.... (by YokoTsuno)
Determine integer in .txt file
I am making an eVoting program which takes input from .txt file and outputs in the same .txt file. I...
[2 replies] Last: Thank you so much for your help. (by fbhkhan)
Self copying file Challenge
Hey, I want to make a self copying file that copies itself into any outside drive inserted into the ...
[4 replies] Last: I want a file that can copy itself ad other files onto my flashdrive b... (by jasonwynn10)
Weird includes
So, I'm using Visual Studio and I'm coding a Tetris game with SFML. Everything's going well, but I'v...
[3 replies] Last: #include is a preprocessor statement. Before the compiler even gets ... (by LB)
8-queen problem
I am trying to program the 8 queen problem. My algorithm checks row by row by inserting a queen in t...
[no replies]
Compiles but refuses to print out char Grades ???
#include <fstream> #include <ostream> #include <iostream> #include <iomanip> using namespac...
[2 replies] Last: TEXT FILE: Dean DeFino 88 98 99 Sally Johnson 78 89 82 Bil... (by hoofhamples)
My file isn't reading
The program is supposed to read my file but for some reason it isn't working. The file is .rtf but ....
[2 replies] Last: Sorry The file is to print the car number (numbers in the middle) and... (by ProgrammerSoul)
solving maze
I am try to generate a solution to a maze using a linked list implementation of a stack in som...
[6 replies] Last: that is an output tag not a code tag... code tags are in color. (by jasonwynn10)
Arrays Question: Functions not functional
First time poster here. Glad to join the forum. I'm currently reading "Jumping into C++". I'm stuc...
[3 replies] Last: Thank you doug4 and Disch. I can see the mistake I was making. (by nakane09)
by nik65
stuck on webscraping and arrays
I am trying to complete a function that takes info from a string, that has been taken from a web pag...
[no replies]
Pages: 1... 4546474849... 58
  Archived months: [oct2014]

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