General C++ Programming - October 2019 (Page 8)

Reverse Function (String)
 
This is my first semester of C++ programming. I need this function to output a whole string mirrored...
[3 replies] Last: Thank you! (by aardalde)
Assistance on C++ program
 
Hi, how to make a running text that starts from left to right, and also from up to down? I need it b...
[4 replies] Last: all advertising software should start with exit(0); An easy way to d... (by jonnin)
What’s this failure: “error: invalid conversion from ‘int’ to
 
What’s this failure: “error: invalid conversion from ‘int’ to ‘number’ [-fpermissive]…...
[2 replies] Last: no. enum defines a type that is more or less a subset of integer. W... (by jonnin)
can function/method declared/defined in a file invoking another by ‘#include’ be seen/used by the file it includes?
 
How can a function/method declared and defined in a file invoking another by ‘#include’ be seen/...
[2 replies] Last: Nevermind, this answer https://www.quora.com/How-can-a-function-method... (by marhuum)
Help Please!!
 
I am trying to find out how to get the max and minimum values of 1-100 random numbers. for(int i...
[3 replies] Last: How I might solve the problem (brute force, stone knives and bear cl... (by deleted account xyzzy)
Build related
 
Sorry this may seem an elementary type of error but I am new to programming really need help. My cod...
[4 replies] Last: #include <iostream> #include <vector> int main() { std::size_t n... (by JLBorges)
Need help for code. I'm stuck
 
string fileName = {"t0.txt", "t1.txt", "t2.txt", "t3.txt", "t4.txt", "t5.txt", "t6.txt", ""}; i...
[5 replies] Last: The better thing to do here would be to compile with C++11 (8 years ol... (by Ganado)
Error with Tokenizing
 
Im writing a program to accept a line from the user and translate it into pig latin. The lab require...
[1 reply] : I didn't debug your code, just reading it in browser and I think the p... (by malibor)
How do libraries like SDL work?
 
Hey guys So I've always been wondering how libraries like SDL,SMFL,FLTK etc, access the pixels of...
[5 replies] Last: a lot of stuff is flood-fill. Like an edit box background may be a fl... (by jonnin)
Build related
 
When I try to run build on this code it doesn't succeed but says 1 up-to-date then when I try to run...
[1 reply] : for (int o = 0; o < m; o++) { cin >> o; the user inputs m = 10. the ... (by jonnin)
checking empty dynamic array
 
How to check if a dynamic array is empty or not? Thanks
[5 replies] Last: Thanks so much I understood well @Duthomhas and @jonnin (by Jack Van Stone)
Read the file and sort by name in an alphabetical order in linked list
 
How can I read the file and sort by name alphabetically while in a linked list? ifstream fin("inv...
[1 reply] : http://www.cplusplus.com/forum/beginner/263821/ (by jonnin)
Basic question of c++
 
What is the basic structure of a C++ program? #include<iostream.h> //basic structure #include<co...
[2 replies] Last: what is it you want to know? Your code example looks like it came fro... (by jonnin)
Simple ARPEGGIO using Beep() (not looped)
 
// So I made this source code inspiration from a VST "CEDR" which its an arp vst :) #include <i...
[4 replies] Last: #include <iostream> #include <fstream> #include <sstream> #include <v... (by lastchance)
Need help for homework!!
 
(C++ Programing Help) Can someone help me with this program? Figure 1 shows a number triangle. Writ...
[1 reply] : Same problem as here: http://www.cplusplus.com/forum/general/263719/#m... (by lastchance)
Google maps API/library
 
Hey all, I'm just trying to figure out what header I need in order to use the google maps API. Also...
[1 reply] : Did you "Google it"? https://lmgtfy.com/?q=c%2B%2B+google+maps+api&p=... (by deleted account xyzzy)
Total damage after hit (1,2)
 
Lili is practicing using her favorite character Templor Assasson. Templor Assasson has 100 base dama...
[21 replies] Last: he also used a comma in the for loop. it needs a; the format is for(i... (by jonnin)
by vroll
Sets and Set Unions
 
I am working on a programming project that is an NFL survivor pool, and I am supposed to create sets...
[11 replies] Last: I am starting to think that c++ set is one of the worst things Ive see... (by jonnin)
by Kenst
Help Project Triangles
 
Write a program that calculates the highest sum of numbers passed on a route that starts at the top...
[4 replies] Last: @Kenst, there's a difference between "can" and "will". Start by writi... (by lastchance)
INI Files
 
Hello Forum: While I'm not new to programming, I am new to C++. Most of my time is spent using F...
[6 replies] Last: Yeah! (by Duthomhas)
October 2019 Pages: 1... 678910
  Archived months: [sep2019] [nov2019]

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