General C++ Programming (Page 47)

web api, loading json data
I have been searching for a while now how to load a web api (Json data) in c++. For example: htt...
[2 replies] Last: boost supports json: (by coder777)
true/false about function parameter
is it true or false a function like void myfun(int num){} can receive type "int var" but can't ...
[3 replies] Last: Top-level const qualifiers on function parameters are ignored on funct... (by Cubbi)
Array Help
need help fixing my errors and help with assigning a sort function to sort the numbers in ascending ...
[7 replies] Last: At the top you will need #include<vector> #include <algorithm> You ... (by dhayden)
Linked List
Line 75 it breaks. I believe while(temp!=NULL) works there but have no clue what to do after that. M...
[6 replies] Last: I know I had this the other day but I figured out what I'm trying to d... (by AresWrath73)
by Ritik
Implementation of Longest Common Subsequence problem
In the implementation of a program to find the length of the longest common subsequence, could someo...
[2 replies] Last: Got it! Thanks! (by Ritik)
how did it came to this output?
why is the output = 9? I got the desired output, which is "9" but how? I need an explanation ple...
[4 replies] Last: And you need to know about FOR Loop. And Here is : ***** FOR Loop ste... (by luckybc)
what's it?
Hello everyone! I'm using c++ for game programming. And I'm using cocos2dx for that. If someone use...
[4 replies] Last: thank you very much! (by luckybc)
non-reference while << operator overloading
I am writing a class matrix for practice but a situation have come to make me a problem, see. I w...
[10 replies] Last: Oh no, it got compiled, I just hit the "Rebuild all" button and after ... (by danicpp)
Debugging PDcurses
Hello everyone. So I just started getting back into C++ and programming after a good 2+ year break a...
[3 replies] Last: getch() is part of the curses library so it should work. I have no ide... (by Peter87)
[Help]Parsing String to Contain inputted int
Hi guys, this is the first time I am posting in this site. I have been here for almost 3 months l...
[6 replies] Last: YESSSSS!! I think I made it. :) Thank you for the help guys. :) (by jemeripol)
C++ rant - lack of developer friendliness is poor design (1,2)
So I'm 33 and tinkering with C++ because it's the de facto language of my industry, but I'm continua...
[20 replies] Last: Really I was just countering the anti-MS hater attitude with my previ... (by kbw)
by vxk
Xcode profiler help
I am new to Xcode profiler , how can i see a simple memory leak difference in the following 2 progr...
[no replies]
Hello Everyone my name is raymond and I living in Kuwait.In our school they do not teach us much abo...
[1 reply] : Hi Raymond. Luckily you at least have the internet to learn and I'm bo... (by soranz)
Deleting the head node in a linked list (1,2)
I know this question has been asked a few times, however all the examples I have seen do not return ...
[27 replies] Last: It will crash. I have documented in the precondition that the list mus... (by MrPigeon)
Error C2678: binary "<"
The full error is: error C2678: binary '<' : no operator found which takes a left-hand operand of ty...
[14 replies] Last: Thank you for the replies. Your last post finally made me understand h... (by wh1t3crayon)
Exponent calculator
Hello! I am working on an exponent calculator and It is not working correctly. Please Help! #includ...
[3 replies] Last: which header does pow come from? (by jasonwynn10)
Magic numbers program
Hey, I modified this program from another persons post. Is there any way to make this any better tha...
[4 replies] Last: Thanks for the help! (by jasonwynn10)
by Kinani
Opening files in Hex mode to compress file size
I have an idea which i will try to implement in C++,I want to compress file size through making my o...
[6 replies] Last: You unknowingly just came up with the primary technique used in all co... (by Krisando)
by tmason
Visual C++ - 'uint64_t' : redefinition; different basic types
Hello, I have a Visual C++ project that compiles fine as a 64bit platform but I get a boatload of...
[1 reply] : uint64_t is a common typedef for a 64-bit unsigned integer. The error ... (by helios)
by manojg
Passing an array of variables by reference
Hi, I define an integer variable and pass it by reference to a function. int func(int &x) { ...
[7 replies] Last: dhayden, thanks it works. (by manojg)
Pages: 1... 4546474849... 56
  Archived months: [aug2014]

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