Beginners - December 2016 (Page 17)

Question about reading datafiles into 2d arrays
 
I have been assigned to write a program that reads data from a file and loads it into a 2D array (6 ...
[2 replies] Last: i completely forgot i left that when i was testing it. haha, of course... (by rooftopz)
by abdan
Error message 0x00104416 on Windows 10
 
I got error message on Windows 10 but the Application still good. Here is the message : An unexpect...
[5 replies] Last: Ok Good People, thanks for any advice ! Good luck for you and have a g... (by abdan)
by rgibbs
array problems
 
the code below is from a void function ,, it asks the user to enter 10 numbers which go into an arr...
[1 reply] : You have defined your array too small. You have allowed for only nine... (by koothkeeper)
Why am I getting this weird error on the scramble program
 
The cause of the issue was when I inserted this code: infile >> wordlist ; i++; I'm not s...
[2 replies] Last: http://www.cplusplus.com/forum/beginner/204231/ (by closed account 48T7M4Gy)
How to get unscramble program to read a file
 
I'm trying to get my program to read from a file a list of words into the original member and the so...
[3 replies] Last: http://www.cplusplus.com/forum/beginner/204293/ (by closed account 48T7M4Gy)
New to ALL programming, but starting C++
 
Hi brothers and sister and all budding programmers (of all pro-nouns, like, you know the whole non b...
[4 replies] Last: I think if you want it bad enough, you will be able to grab an entry-l... (by koothkeeper)
How to put prices on tires, that user chose
 
I was wondering how to put values on the tires they chose, such as I want pirelli to be worth $90 so...
[3 replies] Last: Hello xmonroy, Sorry for the extra message, bad wifi/internet connect... (by Handy Andy)
Priority Queue help
 
I've been beating my head about this for a little while and I'm hoping someone here can help me spot...
[3 replies] Last: I figured it out, I had some issues in my overloaded operator changed ... (by Rogue35N)
Calculator Class Question
 
I've been playing around with C++ for several years off and on in different areas. For the last year...
[6 replies] Last: I would make a post fix notation calculator rather than having differe... (by switchy)
A function
 
I need some help i am trying to do a interpreter for a auto/macro language. Whatever. I am trying to...
[3 replies] Last: #include <iostream> #include <string> //#include <algorithm> //edit:... (by gunnerfunner)
what is the diffrance between these two pointers
 
(char*)data char * data void increase (void* data, int psize) { if ( psize == sizeof(...
[3 replies] Last: void does not have any size. You cannot even use that type [without ... (by coder777)
by loopy
Dynamic array without loop and vector.
 
Hi there! I'm sorry for my English, it is not my native language. I have some problem with dynami...
[1 reply] : Might be useful, particularly std::copy for the reasons given. http:/... (by closed account 48T7M4Gy)
String Tokernizer
 
Can anyone explain the difference between the following lines in the below program p = strtok (stri...
[3 replies] Last: Thanks for your response. I got some idea now about strtok(). (by Rajkumar MCA)
Reading a valid email from an input file
 
i am working on my class lab on how to search for a valid email from and input file. below is my co...
[7 replies] Last: Thanks for your support it work now (by toraaglobal)
Resistor color code program
 
It's the end of the semester and I should be able to understand this, but the logic hasn't come to m...
[12 replies] Last: I already had my two arrays. Both are in main and I passed my string a... (by MadKingRyan)
Need Help
 
Keep getting this message Run-Time Check Failure #3 - The variable 'ch' is being used without being ...
[1 reply] : First please use code tags. I didn't through your code but what you s... (by joe864864)
Converting an array of bytes to int gives Apple Mach-O linker error
 
I am trying to convert an array of bytes into an integer. In Java, I do the following: public s...
[3 replies] Last: It has been a long time since I programmed in C++. Solved by renaming ... (by igorland)
finding mean median and mode using arrays
 
Can I please have some assistance with the following program. Given the following input file: 4 9 ...
[4 replies] Last: the response histogram is something like this its like a table Res... (by chris2016)
sorting an array cleanly
 
I'm writing a program that takes in numbers from a file, places them into an array then sorts the ar...
[1 reply] : Use a loop to check if the input is a number or not before printing or... (by MistahMoose)
Reading integers from a text file and fork() a child process
 
First time post and I am out of my league, so I apologize up front. I have reviewed C++ for Beginne...
[2 replies] Last: Thank you! Very slick and it compiled nicely in cpp.sh. I need to go... (by gjtarbert)
December 2016 Pages: 1... 1516171819... 28
  Archived months: [nov2016] [jan2017]

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