General C++ Programming - June 2015 (Page 12)

Help with 2D array
 
I cant seem to put my data into a 2 dimensional array, please tell me where my mistake is #includ...
[1 reply] : You don't have a 2d array. On line 27: count << ARRAY_SIZE // wron... (by coder777)
Clarification on bitstrings
 
Hello to all, if I have a 32-bit unsigned integer x presented as a sequence of bits for example ...
[3 replies] Last: Please, how do I substract binary strings on two`s complement number s... (by pacman169)
How to run a a program from within a program (compile another program)
 
So i have a executable that i have that writes to certain header files storing variables and stuff, ...
[4 replies] Last: What particular problem are you trying to solve with this approach? Us... (by andywestken)
NEED HELP: reading file and finding average and stdv
 
I keep getting stuck trying to find the average and standard deviation because i cant get my program...
[2 replies] Last: Ok i fixed that, im trying to find the sum and my numbers are not the ... (by rosiebud492)
template questions
 
Hi, With the code below, the compiler is picking the wrong f() for one of the template instantiat...
[1 reply] : This has nothing to do with templates. (I could be wrong from here on ... (by BlatantlyX)
Aesthetics
 
I have a programm that has a title: "Bienvenido al Libro de Calificaciones" and I want it to remain ...
[4 replies] Last: Thanks man! (by Osej Alhasad)
Where do I start with this?
 
Hi! This isn't a question about my code, or how to fix it. It actually includes no code at all. M...
[1 reply] : Hello, learning graphical stuff once you get bored with just looking a... (by Ganado)
issues in school project and no tutors during summer
 
i am working on a project where i ask for 5 scores, find the high and low, subtract those from the s...
[1 reply] : Check the array indexing in addAllScores . (by cire)
school project part2
 
#include <iostream> #include <string> #include "User.h" using namespace std; using std::cout; usi...
[2 replies] Last: Seriously? You're splitting your code over several different forum th... (by MikeyBoy)
Trouble with SFML Networking
 
So guys,i was following tutorial on YT and i tried its code,it doesn't work,i don't know why,here it...
[4 replies] Last: Oh,thanks! (by SuperCrusader)
school Project
 
this is the header code //#ifndef User_H //#define User_H class User { public: U...
[no replies]
school Project
 
i've been working in this project so hard but i still have lots of problems. I'm not a good programm...
[2 replies] Last: thanks i'll repost this is my first post (by pullas8)
Read th Serial data from the port
 
I'm trying to write the data(Serial port data) in text file. But i want the output write like.......
[3 replies] Last: it is a text file, so it doesn't have columns. You could represent col... (by fcantoro)
Sigma of a single Variable with different values?
 
Hello all My problem is that I have a variable that in an step by step program gives different valu...
[1 reply] : Create a new variable to hold a running total of the variables. At ea... (by MikeyBoy)
Problem with looping through input
 
I am trying to read the input file: ANTH 4.6934 4.74 5.77 BWLD 156.96 155.48 152.58 and store t...
[1 reply] : Why do you call getline with ','? (by coder777)
by demox
if statements and initializing problems
 
Hello, I'm new to c++ which is why I'm here, probably with a very dumb/simple question. I'm working...
[2 replies] Last: It must be a const string..of course. I've tried just about everythin... (by demox)
Keeping running into errors....definitely need some help
 
#include <iostream> #include <string> #include <cstdlib> #include <iomanip> using namespace s...
[4 replies] Last: You have a rather large number of syntax errors. while (compile resu... (by cire)
help to make this program
 
Create a library with functions that convert between angles expressed in radians, degrees, and revol...
[2 replies] Last: you should try yourself to solve the problem. people will help where y... (by anup30)
by hav206
Huffman Tree
 
I am doing huffman tree. the instruction is if you go from the left subtree, you have to add "0" if ...
[4 replies] Last: You can do it with tail recursion, sure. That will probably require y... (by cire)
Trying to Read Input File
 
Hi, I'm trying to read from a file and execute a while statement to analyze the data, but I'm having...
[8 replies] Last: It would make sense to protect your code by using ifstream::is_open() ... (by andywestken)
June 2015 Pages: 1... 1011121314... 16
  Archived months: [may2015] [jul2015]

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