General C++ Programming - November 2015 (Page 10)

Pointer problems!
 
=D!!
[7 replies] Last: ??? wtf? (by jasonwynn10)
Data pairs in array
 
Hi, I don't know how to store input data pairs into an array. I have to insert two text files into the program prompting the user to input the file names (I hav...
[1 reply] : http://www.cplusplus.com/reference/utility/pair/ You don't indicate t... (by AbstractionAnon)
atm machine program
 
Hello guys, I really need help writing this code: Assignment Description: In this assignment you will create a program that allows a user to choose one o...
[2 replies] Last: Seems like you need to use conditional if statements with simple yes o... (by xdhx12345)
Reading a pgm file using visual C++
 
I want to read the pixel values from a pgm file, then compute the integral image and save the result to a text file. At first I used Dev C++ to compile my code,...
[4 replies] Last: Assuming you also read the rest of my answer and fixed the pixel color... (by Duthomhas)
ASCII Encode
 
Lab 21- Encode a character Content Lab 21 Create a program takes a single character and encodes it. Ask the user for a character, the mulitplie...
[1 reply] : Read this. There's actually an example in there that is similar to yo... (by doug4)
MIPS..I think the load word and store word are not storing the right values and going to the wrong Address
 
/* ---------------Add, Sub, AND, OR, lw, sw, addi, beq, bne Fuctions------------------------ Functions perform operations on registers and store the resulting...
[1 reply] : Please use code tags when posting code, to make it readable: http://w... (by MikeyBoy)
txt. file to 2d array
 
So I have this file called data.txt It looks like this: Deaths Doctors Hosp Income Population 8.00 78 284 9.10 109 9.30 68 433 8.70 144 7.50 70 739 7.20 113...
[2 replies] Last: Can you explain the steps for putting the file into the array. I can d... (by falloutfan)
Textual representation of mt19937
 
Some time ago I found what I thought was a bug in GCC. I reported it but never got any response. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60441 Looking...
[4 replies] Last: Yeah, that will work. (by Peter87)
not sure how to fix the error message i get
 
...
[5 replies] Last: When you write return Tweet(); , that's saying you want to construct ... (by Chervil)
word adjacency list
 
Given two words of the same length I want to create a table that displays a word's neighbors that are have a one letter difference with it. For example... ki...
[8 replies] Last: I see what I did wrong. Changed this if (it != wordsToPrint.end()) {... (by clarkkent)
Pretty function macro
 
Hello everyone) Is using __PRETTY_FUNCTION__ macro good or bad practice for modern C++ development? Recently we got a request to replace all __PRETTY_FUNCT...
[2 replies] Last: Thanks) (by Diredko)
very important please help!!!!!!
 
I will submit my project please help 1st Stage will write something into a text document, but you will not be gaps between açıcak 2nd stage you will embed...
[3 replies] Last: I started solving program 8 lim author as sub-sub-divide now I need to... (by tommy820)
Soda Machine Invetory
 
So this is what I have so far. But I need to able make the machine keep track of how many sodas/drinks are left, and then, if the user choses it, tell them it w...
[1 reply] : You need some variables to store the initial amount you have in the be... (by Thomas1965)
C++ Array Assignment
 
I already successfully made function 1 but I need to use function 1 to make the second function and I can't quite figure out how to get it to play and 'X' or 'f...
[4 replies] Last: These lines look a bit suspious. cover(battleGrid, row+=1, col); cov... (by Thomas1965)
Recursive function to print a shape
 
I have to write a program that prints out a shape where the first line has n stars, second has n-2, ..., and the last line has 2 stars, using a recursive functi...
[1 reply] : 1) Use code tags please. 2) There's a spelling error in your code. Lo... (by YFGHNG)
Curl data
 
Good evening! I'm new here so I apologize if I'm posting in the wrong area or anything, but had a quick question about using cURL to enter data into a website: ...
[4 replies] Last: I'm not sure whether I understand what your problem ist. Things like ... (by coder777)
Why is this code legal? Graphs
 
Hello, My professor wrote a code example for a graph and he wrote several functions. There is two functions in specific that called my attention. The constr...
[1 reply] : You are correct. The code overflows it's bounds. You are simply lucky ... (by Duthomhas)
by eZeth
Rearranging an array
 
I am trying to make a function that rearranges an array and returns a new table. #include <iostream> using namespace std; template <class T,size_t S> ...
[2 replies] Last: You never defined what Second = RA(Original); is Did, int Orig... (by eZeth)
I have 3 quick questions
 
1) Could someone link me to something explaining how to make c++ email me a .txt file. 2) Is it possible to attach a keylogger to a .JPG/.PNG, .PDF, .TXT ect...
[1 reply] : I know this sounds fishy, but this is really just for the science, an... (by helios)
Resolving Cyclic Dependencies in Templates
 
I am having an issue with cyclic dependencies with template classes. I have something similar to the following, // XYZ.hxx template<typename T> class YZX; ...
[1 reply] : > The forward declarations do not work error messages. > breaking the... (by ne555)
November 2015 Pages: 1... 89101112... 26
  Archived months: [oct2015] [dec2015]

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