General C++ Programming (Page 3)

Runtime Error #3?
I'm using Visual Studio 2015 and I'm getting a Runtime Error #3 in a program I'm writing. // cha...
[10 replies] Last: Yeah, I see now. Thanks. It worked with that. (by DragonOsman)
how to add license in my project
hello every body i need add license in my project Because there are some thieves What you advise me...
[5 replies] Last: Here's a breakdown of the major choices: Public domain: Other people ... (by helios)
which header file is used for sound() function in dev c++
which header file is used for sound() function in dev c++ actually i want header file for this code...
[1 reply] : actually i want header file for this code You should consult the doc... (by cire)
How to stop loop using any character
i want to stop loop by entering any character like "n" in int type variable.The problem is that i ca...
[3 replies] Last: thanks chayden (by abdullah ibrar)
Simple http request for Dream.lo
Hello, I'm trying to make a simple http request to to make an online leaderboard...
[no replies]
Cleaner way to handle incorrect input
Hi all, Currently, the way I'm handling input is as follows: int main() { int aNumber{...
[8 replies] Last: Thanks buddy. I see what was happening here now. I shouldn't return by... (by Aaron Vienneau)
check to see if file requires administrator privileges
I am trying to use shellexecute to open a program without it asking for permission to open it. Is it...
[no replies]
by eranda
How values given file(note pad), please fix it
#include "stdafx.h" #include <iostream> #include <string> #include <fstream> using namespace std...
[no replies]
number as a sum of 2 numbers from array
I have been trying to find if a given sorted array contains 2 numbers having the given sum. For 1 d ...
[no replies]
by kubu
Templates & DLLs
I am trying to create a dll that contains templates where the templates should be compiled (rather t...
[4 replies] Last: helios, that is perfect. I ended up doing what you suggested. Actually... (by kubu)
Advanced question
I have the following struct: struct bitFields { unsigned short userInputA : 3; unsigned short use...
[5 replies] Last: I just noticed. You should saturate the input before assigning its v... (by helios)
Creating an Array Based on User Input
Hi All, I am trying to create a variable length array based upon a user's input. I am not sure wh...
[7 replies] Last: Rusko, thanks for pointing out the delete part! :) (by Little Captain)
by Wesus
Having problems getting started on this project.
I currently have a challenge to complete in 72 hours that is over my head. I have no idea where to s...
[2 replies] Last: This link is the image of what the challenge... (by Wesus)
by Rusko
C++ Primer 5th ed question
it says: We can use an if to write a program to count how many consecutive times each distinct value...
[3 replies] Last: Please don't alter your posts after the fact, just add a new post to t... (by jlb)
Segmentation Fault
In the below code, i am getting segmentation fault at cout << ... Can anyone explain why it happen...
[2 replies] Last: Any function of the following form is incorrect: T *f(/*...*/){ ... (by helios)
Declare and Use an Array on One Line
So I'm lazy and want to try and make and use a small lookup array on one line. I've tried this: int...
[3 replies] Last: With VC++, this was the best I could do: using int_array = int c... (by cire)
by Peril
Swapping Arrays.
Hello. I was wondering how to swap array in place of another array. For example, if my array is 1, 4...
[12 replies] Last: if you know the size of data you will store arrays are much faster Ar... (by helios)
how to get innerText with libxml++ ?
Hi, I develop application to parse a html file with libxml++. I using TextNode to get texts of Eleme...
[no replies]
re sizing a 2D vector of Structs
Hello, I'm working on making a minesweeper game using C++ but I'm having trouble re sizing a vector....
[no replies]
Pages: 12345... 37
  Archived months: [mar2016]

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