
please wait
by fleasus7
Game of Life Program
|
Hey everybody, I'm a freshman in college and definitely a beginner at this. My professor assigned a game of life program for us to write and implement. I don't ... |
Mar 15, 2018 at 6:46pm
[11 replies] Last: You can create a 2D int vector as long as you supply both dimensions... (by closed account E0p9LyTq)
|
run-time created 2 dimensional vector |
Both Visual C++ 2017 and TDM-GCC 4.9.2 initialize the elements of a created 2D vector without having to push back any values. The vector elements seem to be ini... |
Mar 15, 2018 at 6:38pm
[2 replies] Last: Ah, I see why now. Because I supplied vector count size for each dime... (by closed account E0p9LyTq)
|
by azizguliyev
Reverse the string.
|
I'm a beginner in c++ and my new teacher has given me a project on strrev. I am supposed to write a code with : char *strrev(char *s), which reverses the strin... |
Mar 15, 2018 at 4:03pm
[12 replies] Last: utoob is one of many resources. a lot of coding help will be in text,... (by jonnin)
|
by arroyadr
Why float is read correctly in 32-bit but not in 64-bit in Visual Studio C++ 2015
|
I have an application in Visual Studio 2015 that receives a certain struct, as a memory pointer, with some fields from an application in LabWindows CVI that wri... |
Mar 15, 2018 at 4:00pm
[3 replies] Last: First of all, I don't see the member varFloat defined. It looks like ... (by doug4)
|
by YikUTM
How analyse a pulse?
|
I planned to write a program that analyse the pulse rate which is from an external sound file. If the pulse rate is high, it will display a health advice. I... |
Mar 15, 2018 at 12:26pm
[1 reply] : This is a subject with a vast range of existing literature. But that's... (by Repeater)
|
by grimzF
the loop in the main() gets executed only once
|
#include<iostream> #include<stdio.h> #include<stdlib.h> using namespace std; int factorial(int, int); int main() { system("cls"); int x=1, n; char... |
Mar 15, 2018 at 11:55am
[2 replies] Last: Seems a typical problem with a dangling '\n' cin >> n; will not remove... (by Thomas1965)
|
by anoanomous
Help on leap year finder programer
|
I need some on a c++ programming assignment where I am required to create a program that checks for a leap year using a do while loop and also allows the user t... |
Mar 15, 2018 at 3:49am
[1 reply] : #include <iostream> int main() { int year ; std::cout << "En... (by JLBorges)
|
by ghostk91
Reference to a constant pointer?
|
Suppose you have the following declarations: int x = 5; int *const ptr2 = &x; const int*& p_ref2 = ptr2; The first is a primitive type int, the second is a con... |
Mar 15, 2018 at 2:47am
[1 reply] : int x = 5; int* const ptr2 = &x; // const pointer to (non-const) int ... (by JLBorges)
|
by combz
Round Up/Down Function? I'm looking to build a program that solves basic equations?
|
I know a little bit of Objective-C and I'm not too familiar with the differences between C++ and Obj. C I'm looking for a solution to a business need that I ha... |
Mar 15, 2018 at 2:42am
[3 replies] Last: Assuming that we are using a standard library implementation which sup... (by JLBorges)
|
by Borneq
Advanced tree operations classes
|
Problem seems to be trivial, but there trees differs from I always use: I don't add simple elements, but construct big trees from smaller trees. I am using sha... |
Mar 14, 2018 at 9:34pm
[no replies]
|
by raasilinin
How get all the words of same length from a string of thousands of words
|
How to get the words of same length from a string of thousands of words. Please explain with the code. |
Mar 14, 2018 at 5:40pm
[7 replies] Last: Thanks a lot, JL Borges.. (by raasilinin)
|
by technologist
c++/linux question (1,2)
|
Hi, I am learning as quite the novice how to program visual c++ for linux development / c++ for linux development available on VS2017 and Eclipse. My questi... |
Mar 14, 2018 at 4:47pm
[24 replies] Last: It was some combination of the commands below. Basically I enabled ssh... (by technologist)
|
by jenxx
Modify output data file
|
Dear all, I am a beginner and I hope you can help. I need to convert an output data file, made of a 5-line header, 3 columns, and 300 rows. The first column... |
Mar 14, 2018 at 2:02pm
[4 replies] Last: I said N++ because its search and replace can do powerful things like ... (by jonnin)
|
by stefanp99
First text-based game created by me. Tell me what you think please!
|
So I created my first game in C++. It is called Virtlife. I really need your opinion on what I should add or remove. It is very interesting and funny and compl... |
Mar 14, 2018 at 11:12am
[6 replies] Last: Hello! Yesterday I gave your game a try, and it is very funny! I test... (by Misenna)
|
by austin9398
Help C++
|
can someone please help me, I need to create this menu driven program using arrays and I need the following code to compile to do the following: 1)enter flight... |
Mar 14, 2018 at 10:45am
[4 replies] Last: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xutili... (by TheIdeasMan)
|
by raasilinin
How get all the words of same length from a string of thousands of words
|
Can anyone help with the code to extract the words of particular length from the string of words. #include <fstream> #include <iostream> int main() { ... |
Mar 14, 2018 at 8:38am
[3 replies] Last: JLBorges did show how to collect words by sizes in http://www.cplusp... (by keskiverto)
|
by raasilinin
Extracting a particular length of words from the strings
|
Write your question here. I am taking a dictionary of words from a text file and want to display all the words with four letters. string numWords;... |
Mar 14, 2018 at 2:40am
[3 replies] Last: A really good reply here: http://www.cplusplus.com/forum/general/2329... (by TheIdeasMan)
|
by relze12
Lexical Analyzer in C++
|
Hi everyone, here is my project for spring break. I need to code a lexical analyzer. Here's what a got so far but I need help putting everything together. I h... |
Mar 13, 2018 at 10:42pm
[1 reply] : You have not asked a question. Also, it would greatly help if you edi... (by Ganado)
|
by adam2016
why do we need to "build" a library
|
Hi guys sorry about the confusing title but why do we need to build a library or framework before we can actually use it? for example yesterday I installed F... |
Mar 13, 2018 at 3:46pm
[8 replies] Last: The makefile gives instructions on how to build the library. SHARED=1 ... (by Ganado)
|
by Cambalinho
how use Assembly on C++ for print
|
i'm trying(for now) using Assembly on C++, but without success. for start i need ask: how can i print a string and a number? |
Mar 13, 2018 at 2:45pm
[12 replies] Last: Right. Visual used to support a VERY casual inline assembly that unde... (by jonnin)
|