• 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]
cin problem
why the second cin didn't execute´╝č #include<iostream> #include<algorithm> #include<string> ...
[1 reply] : while (cin >> s) l.push_back(s); Should be : if (cin >> s) l.push... (by SakurasouBusters)
by bp04
Error in stdint.h
I include stdint.h in my header file, it shows error which says " , expected ". What is the issue? ...
[2 replies] Last: I have included the file stdint.h. I'm getting error in stdint.h file. (by bp04)
Anyone knows...??!!
So basically I was new in c++ Anyone know how to make string we input become like this: Ex: input...
[10 replies] Last: #include <iostream> #include <string> #include <vector> int main( )... (by integralfx)
Apple iPhone 7 Plus is Out of Stock
Apple iPhone 7 Plus is Out of Stock,You may also be interested in Apple iPhone 7 Plus5.5-inch LED-ba...
[no replies]
Setting parameters on command line?
Hey everyone, I'm fairly new to C++ and have been given an assignment for my class. My professor isn...
[2 replies] Last: Can you post your code to show us what you have tried? (by SakurasouBusters)
Help me win a bet please!!
I had a bet with my friend, this is my second question posting on C++ ever. My first experience wasn...
[2 replies] Last: What do you mean on what conditions, he gave me a question and i have ... (by Johnathon1234)
Lowercase to uppercase using ASCII
Hi Here I'm trying to load a coded message from a text file to decode it using ASCII. I take the f...
[2 replies] Last: Your answer didn't help but I figured it out. Thanks anyway (by overlord49)
by akron1
I am need of help with this assignment. PROGRAM SPECIFICATION For the assignment, we will write a p...
[2 replies] Last: . (by akron1)
binary search function
I have never written or seen a binary search function before, so how would I write one using vectors...
[4 replies] Last: bool search(const vector<string>& v_word, const string& word) { ... (by ticx)
Order form help:
Hi guys, I made a script that is suppose to be a customer order form. It works at the start but ...
[2 replies] Last: Thank you SakurasouBusters (500) code works. Noobish mistake, still ne... (by animation117)
How do I print out the info from a class??
Hello everyone, I am basically creating a class called Person which holds member variables for a per...
[no replies]
by fryejt
Creating a file
Hello, I am trying to using a matrix that is generated with the code to create a file. I am really...
[1 reply] : I am not getting the file output. This is the main problem. Does any... (by fryejt)
About Smart Pointers
Hey guys! I am reading a terse Programming book in which the solution to a linked-list problem is ...
[3 replies] Last: geeloso, I might be misinterpreting what you've written, but here goe... (by xismn)
by cmisip
Template parameter with variadics and shared_ptr
How come the commented out code does not work?. I am trying to come up with a way to pass multiple ...
[13 replies] Last: Thanks for the pointers ( no pun intended ). I will look at applying ... (by cmisip)
Something wrong with my for loop?
I am writing a program where I need a for loop to run a certain amount of times, depending on user i...
[1 reply] : I compiled your function along with a simple main function and I think... (by wildblue)
by CZZ
Vectors problem
Hi guys! I need to find the minimum distance between two points. For instance, I have two files ...
[1 reply] : In other words, you do have two sets of points, A and B, and you want ... (by keskiverto)
scramble user input
would this code scramble a word? i keep getting errors and im not 100% sure why. unsigned int scr...
[2 replies] Last: yes i believe so (by jessicacats)
What's wrong with my code here? (Sieve of Eratosthenes)
Here is my code (the explanation for what I'm trying to do is all above main() in comments, so pleas...
[9 replies] Last: I think it's a good idea having nevertheless a (seperate invocable) fu... (by nuderobmonkey)
by nusr
Trouble with Matrix
I need make a code with this output with the cicle for . 1 2 4 8 16 2 4 8 16 32 3 6 12 24 48 4 8 16...
[3 replies] Last: Unexpected output, I presume. Math trivia: (f*2)*(c*2) == f*2*c*2 ==... (by keskiverto)
Pages: 123... 36
  Archived months: [aug2016]