• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
Generate all subsequence combinations
I need all combinations of subsets of a string. In addition, a subset of length 1 can only be follow...
[no replies]
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)
looping through array of string elements
I am trying to compare the variable named response which contains a user's input, with an array of a...
[3 replies] Last: You should have noticed that you never tested for "stand". That is bec... (by ats15)
Vectors in .txt files
How can I write a vector inside a .txt file?
[11 replies] Last: It's simple! When you open the file do this: ofstream myFile; myFile... (by newbiee999)
5 Volts reaction in code
Hello everyone! I have a question. I have code for LED stripes and I want to make i trick with power...
[no replies]
how does the '%' operator work
What is the calculation behind the '%' operator in c++ ? I understand that it gives the remainder...
[1 reply] : It gives the remainder of the division, period. 20 % 100: 20/100 is 0... (by firedraco)
by hamit
Find a specific string from line and match it to whole document
i have a text file which is about 1000 lines. as an example some of the first lines are given as bel...
[no replies]
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...
[no replies]
hash table chaining
Hi, i have a project where i should read an input.txt that contains a x node, the neighboor y and th...
[4 replies] Last: Yes i understood what you are saying about the graph, the elements of ... (by chris896)
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)
Pages: 123... 47
  Archived months: [mar2015]