General C++ Programming - May 2015 (Page 4)

Slide Sorter Program
 
Hey everybody! I really need some help with a code I have no idea on how to even start. It is suppos...
[no replies]
how does the '%' operator work
 
What is the calculation behind the '%' operator in c++ ? I understand that it gives the remainder...
[2 replies] Last: for integers n, q , p and r; n = q*p +r where r is always less than t... (by erbisme4)
Vectors in .txt files
 
How can I write a vector inside a .txt file?
[15 replies] Last: Ok, thanks (by Osej Alhasad)
Generate all subsequence combinations
 
I need all combinations of subsets of a string. In addition, a subset of length 1 can only be follow...
[1 reply] : You might want to start here: http://stackoverflow.com/questions/90591... (by cire)
reduce Knpasack problem to 3SAT problem
 
hello guys, i'm searching for the reduction of knapsack problem to 3SAT need just an idea how to do...
[1 reply] : There is no generalized answer to a question like this. Can you give u... (by Duthomhas)
Basic linked list errors
 
I am working on basic linked list and I have just writen a program on Adding and multiplying polynom...
[3 replies] Last: As to the design: redesign. (This is not strictly necessary. You can... (by cire)
Maximum number of indexes for N-dimensional array?
 
Hello, I am trying to find the maximum value I can put for each dimension in a 2D array, but tryi...
[2 replies] Last: I am trying to find the maximum value I can put for each dimension in... (by andywestken)
Need a solution for c# code
 
Hey!! I have some exception in my c# project can anyone please help me ? using System; using System...
[6 replies] Last: This topic is continued in this thread: http://www.cplusplus.com/forum... (by Gamer2015)
need solution for this
 
Hey!! I have some exception in my c# project can anyone please help me ? using System; using Syst...
[6 replies] Last: Gamer3015, that is a class C, local ip. Whooops should've known that... (by Gamer2015)
by Vangy
Future of C++
 
What do you guys think, is learning c++ worth it ?
[9 replies] Last: Making gui development on Windows with .net languages is extremely ea... (by Gamer2015)
by Ophi
SFML Link Error
 
Hello. I'm just starting to learn the SFML library for use in C++ in VSE 12. /* Main.cpp */ #incl...
[9 replies] Last: I was pointed in the correct direction on the SFML forums. Apparently ... (by Ophi)
Different libraries
 
(1)What is the difference between dynamic link library, shared library and static library? (2)And ...
[6 replies] Last: Thank you. (by rizaado)
cin not working
 
Hey guys. I've got this code: if (izbor==2) { fstream clientFile("clientFile.txt",ios::app...
[5 replies] Last: Thank you. Really cleared up things for me. (by itsallpoison)
Computer Graphics
 
Greetings every one. i am puzzled on the source code. Can you please tell me how to move my circl...
[1 reply] : What source code are you talking about? (by Peter87)
Getting -9.25596e+061 passing paremeters inheritance
 
I've been struggling a heck of a lot with this bug I just don't know how to fix. I've got two class...
[11 replies] Last: But in your original code you are never computing the area, only ge... (by Peter87)
What does a return 0 do?
 
I just know return 0 can exit the program in main function. but how about in other member function...
[6 replies] Last: Every function returns to its point of call when it finishes its work.... (by PSYCHAMERON)
Please can anyone help me on strlen, strcmp , strcpy, strcat...
 
I Edited my question 1. This is what i have and one below is testing code int mystrlen(const cha...
[5 replies] Last: Haha,, if i get it would I even post this in the first place? (by jae0014)
URGENT!! Need help finishing 2-dim array game code!
 
So I have the basic structure of the code down, but I don't know how to finish the code to display m...
[5 replies] Last: states is a 1-Dimensional array. string states = {...}; but you tr... (by Gamer2015)
Logic Issue
 
Hello this is a program to help kids with math, it is really basic. I am having issues with the log...
[6 replies] Last: glad to help What do u mean by "yes"==true? This was actually wron... (by Gamer2015)
help with this c++ code mat lib
 
Please Help In This code #include <iostream> using namespace std; class mat{ ...
[3 replies] Last: These are easy: - daata does not exist: data=x.daata ; - in main:... (by Gamer2015)
May 2015 Pages: 123456... 22
  Archived months: [apr2015] [jun2015]

This is an archived page. To post a new message, go to the current page.