General C++ Programming (Page 9)

by frisk
how get a stream value
Hello! I hope you can help me I'm creating severus program in c++ (usgin dev). I need help for ...
[11 replies] Last: So i'm not getting wrong when i feel dumb. Thanks!!!!!!!!!!!!!!!!!!!!... (by frisk)
Did I do this right?
#include <iostream> #include <stdlib.h> #include <stdio.h> using namespace std; void Encryptio...
[8 replies] Last: What inputs do you use? (by kbw)
Listing Files
Hi all, I am doing a program to list all the files in a folder. I wrote all the code, but when I t...
[8 replies] Last: Andy, I created a new project as you said. It´s working now! First ... (by neljunior000)
by ryx
How to support C++ in a new OS
I want to get C++ support in my new operating system. But I do not have much idea how to achieve it...
[5 replies] Last: I don't know exactly which library is used by gcc, https://gcc.gnu.o... (by MiiNiPaa)
Problems with vector of classes
Hi everyone, I'm trying to make a system that manage schools (with students, classes, teachers, ect)...
[12 replies] Last: #pragma once (or the older-style include guards) solve a specific pr... (by MikeyBoy)
Reading data is not same as text file data after using Fread()
i trying to read the text file data using fread(),but the reading data is not same as the text file ...
[3 replies] Last: you are 1) writing everything in first array element 2) writing float... (by MiiNiPaa)
How do I read text. file and put each word.
struct SSD { string word; int counting = 0; }; I have this node so if i have about paragr...
[1 reply] : Ye le guru code... Aur run kar de.. Khataek ..... (Translation: Take... (by HabibAurangabad)
Read from a text file with both variables and strings
Hello yall, I am trying to do an assignment where I created an input file to be read then outputt...
[1 reply] : When you use >> to read the double value, it doesn't remove the newlin... (by Zhuge)
SFML Game Help
I would like to make a program that generates a random number between 1-10, gets the player to guess...
[6 replies] Last: I made a new project and fixed my error! Yay, i can code again (by FighterCoder)
Hello, I`m doing a self study of the C programming language and now getting segmentation fault er...
[5 replies] Last: Write many simple, small functions. Test each function to make sure it... (by JLBorges)
by rosa
error: C1083: Cannot open include file: 'pthread.h': No such file or directory
I am trying to build a project using Qt creator tool in windows but when I built it , I got this err...
[2 replies] Last: so I just need to download it ? is there any extra requirements ?? (by rosa)
Recursion to find shortest path
Long question. I'm finishing a class project and I'm in desperate need of help. The goal is practici...
[1 reply] : I'll give you the function prototype and base case and let you figure ... (by helios)
While Loop not ending
Help please, i have this while loop and basically i want to check that the stuff in empoyeeID are as...
[2 replies] Last: thank you helped a lot. (by rushwe11)
Function project - Please provide feedback on this for me
Hey guys, brand new C++ Programmer here. For an upcoming assignment, I got this to work correctly bu...
[9 replies] Last: Got it, I just fixed that. Thanks a lot, he probably would have taken ... (by GoodProgrammer)
Segmentation fault (core dumped) error, can't assign vector
#include<iostream> #include<string> #include<sstream> #include<vector> #include<algorithm> using na...
[5 replies] Last: you should resize vector to make space for all objects you want to sto... (by MiiNiPaa)
Coding Structure for dot.program
A idea for a simple program which prints dot in each new line with increasing no of spaces. output m...
[2 replies] Last: @Don Kumar Here is your program, using recursion. #include <iostre... (by whitenite1)
Segmentaion fault (core dumped) error using qsort
I am getting a segmentation fault (core dumped) error using qsort. Here are the structures I am usin...
[6 replies] Last: These ampersand(&) are used when we have to pass arguments by referenc... (by saadusmani)
Why doesn't getline work in a struct?
So I've got this weird problem. This is the struct I'm using: #define DIM 50 struct user { ...
[3 replies] Last: I thought the buffer would be cleared when calling a new function...... (by MiiNiPaa)
Why aren't all C++ variables pointers? Why use pointers at all? Why the different syntax?
I come from an Objective-C background. In Objective-C, just about everything is a pointer. I know a ...
[2 replies] Last: Why doesn't C++ make everything a pointer by default? If you ever di... (by Gamer2015)
Very slow visual studio compilation
Hi there, I'm writing a math library that follows the GLSL syntax closely. I want to allow for doi...
[5 replies] Last: @poteto yes, they didn't help at all @Duoas I think so, because witho... (by Yours3lf)
Pages: 1... 7891011... 19
  Archived months: [may2015]

Cannot post in this page. To post a new message, go to the first page.