General C++ Programming (Page 43)

by mmoy
Addition error?
 
Hi, so long story short im trying to code a program that takes in user inputted data about percentag...
[1 reply] : How about posting the actual code, in your post, inside code tags, so ... (by jlb)
A dp task (i think) i cant solve
 
TASK STATEMENT: you are given an array of N integers you should find 2 sub-arrays of consecutive el...
[2 replies] Last: http://en.wikipedia.org/wiki/Maximum_subarray_problem (by keskiverto)
I have learned C++ and Java, Which is the best place (App developing, pc software, web) to start programming?
 
I know C++ and Java. I can do all the exercises given on the tutorial. But this is only basics and ...
[1 reply] : C++: Make a game. Anything that interests you is good. I recommend usi... (by LB)
send post request method
 
can someone help me on how to send post request using c++? i want it straight forward without any l...
[1 reply] : There is no way to do it without a library. The C++ standard library d... (by LB)
Using getline multiple times on one line of input
 
I've been stuck on this for hours, and have scoured the internet for any insight on this particular ...
[6 replies] Last: If you have a free choice, I'd go for the get() rather than getline() ... (by Chervil)
calculate total no of comparision using selection sort?
 
kindly tell me where and how to put comparision condition in order to caculate total number of compa...
[1 reply] : You have comparsion on line 15. This is only one. You just need some k... (by MiiNiPaa)
send request via post method
 
how do i send post with data to a php page on the net using c++? im using this for a file uploading ...
[5 replies] Last: thanks, ill check it out and get back on you when im done. (by CountVlad)
Share good error reading habits
 
###Hi, Programmers and Developers! **Errors are really annoying after editing source code.** Badl...
[12 replies] Last: @Rabindra Hota It is true and this is a good habit. (by wangimagine)
how can i test a programs by using files with tests
 
guys i want to ask how to test a program by using files containing tests and with a go file i think....
[1 reply] : As long as your program reads it's input from the parameters passed to... (by Computergeek01)
How to copy a string to an array?
 
#include<iostream> #include<string> using namespace std; int main(){ char char_array ; ...
[3 replies] Last: Hey; Use a vector, you no need to maintain the index for the array. Yo... (by Rabindra Hota)
pointers, binary data, and shifting
 
unsigned short foo = 1337; //since unsigned short is 2 bytes, a char x should be enough to hold ...
[4 replies] Last: definitely very good to know. thanks MiiNiPaa! (by roger911)
need assistance with matching colors
 
need assistance with a project im doing for class its matching colors basically my problem is how to...
[4 replies] Last: Do you mean pass by reference? What is it you're having trouble with ... (by Yay295)
by Chance
Security vulnerability question
 
My professor at college stated that it is important to always initialize a function type because if ...
[4 replies] Last: Thank you guys for your input and wisdom. (by Chance)
error: expected initializer before ‘void’
 
Well every time I try to compile my code using make command I get this error... and help? // ===...
[16 replies] Last: // ==================================================================... (by darklord1)
how to use recursion to send alphanumeric characters onto a stack and a queue?
 
Literal homework text: " ...Using recursion, add each alphanumeric character to both a stack and...
[no replies]
Implementing collision detection correctly
 
I'm making a 2D Terraria-like (side-scrolling RPG with destroyable blocks) game with SFML 2.1, and I...
[7 replies] Last: Thanks, I think I finally have an idea of what I'm doing now. (by Bosslard)
Multiclassing
 
#include <iostream> #include <string> struct Class {}; struct A : virtual public Class { int nu...
[4 replies] Last: No, it's not the virtual inheritance that confuses me. It's why you wa... (by LB)
by Ispil
The Final SegFault; Hashtable for an Unordered_Set
 
Well, I've eliminated segfault after segfault, only having one more left- and this one's a doozy. Ag...
[8 replies] Last: Ignore them- they're really me just blabbering nonsense to myself. Any... (by Ispil)
by Dkob1
Code Problem
 
I tried it but I keep getting it wrong, I wrote what I have after the question. Given three vari...
[3 replies] Last: I got it wrong though. (by Dkob1)
Updating An Array In A Grading Program
 
OBJECTIVE OF THE PROGRAM The program will grade a series of exams and then print a grade report for...
[1 reply] : You could have an integer for each grade. example: int grade10; int ... (by fabtasticwill)
Pages: 1... 4142434445... 56
  Archived months: [aug2014]

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