Beginners - October 2015 (Page 35)

binary text to real binary
 
Can't figure this out. Help would be appreciated. At a certain point i and up with a 'string' of characters having only binaries (0 and 1 are '0' and '1'). S...
[3 replies] Last: Isn't there an easier way. Somewhat like streaming the data to file ... (by MiiNiPaa)
by cowhit
Need help getting this output for C++ lang
 
hi i need help on getting this kind of output, badly needed to finish this cuz I've been scrambling my brain to think of a looping that to generate this kind of...
[2 replies] Last: super thanks "kevinkjt2000" you've helped me a lot. now I'm laughing o... (by cowhit)
APIs and C++
 
Hello, So, I was just thinking about how I can use APIs with web sites, and connect to NY Times and pull or search using theirs. Is this concept relevant to C+...
[1 reply] : An API is just an interface provided by a library or system. Remember,... (by kbw)
using cin.ignore() question
 
how do i go about getting the cin.ignore(2) to ignore every two characters instead of just the first two characters of input? while (!cin.eof()) { ...
[6 replies] Last: No. The way you're trying to use ignore() is trying to remove the irr... (by jlb)
How to read and write into the SAME file
 
Hey guys, I'm having trouble writing into the file. The purpose of my homework is to read numbers from a file, then write three numbers into that same file. S...
[4 replies] Last: #include <fstream> #include <iostream> using namespace std; int mai... (by SamuelAdams)
trying to add a running sum into a program
 
but having trouble figuring out how to write it. i'm trying to put the running sum in a loop (that's not a while loop) that creates an average pay with the h...
[1 reply] : this is what i have so far but i want to input 2 sets of test data wit... (by LainStorm)
by bhump
Average Output Code Help
 
I am having a problem getting the correct output. When I type in the first file, it gives me the average of -1.#IND for class 1. Can anyone help me find out wha...
[1 reply] : I suggest starting simpler. Start by opening one file that you know ex... (by jlb)
I/O file
 
I have an issue with the code below. The least number is not reading right. any ideas why. // This program takes a series of intergers and // loads to ...
[4 replies] Last: Also since you initialized minimum to zero only a negative value shoul... (by jlb)
Help Median wont show
 
Cant get the median for this array to show, I would greatly appreciate anyone who can help me #include <iostream> #include <cmath> #include <cstdlib> ...
[1 reply] : Looks to me like you're doing way too much memory allocation. What is... (by jlb)
Anyone know what to add to this code? Switch statements
 
I have an assignment where I am suppose to use switch to determine the letter grades. I don't know how to use it, so even when the average is 80, it still goes ...
[12 replies] Last: IMO switch statements should not be used in this case, but your assign... (by LB)
by Gector
Morse code translator/creator
 
I'm making a morse code to English, calculator sort-of-thing, and my grasp of C++ has proven insufficient for this task. It seems as though C++ doesn't in fact...
[4 replies] Last: You're fine. You coded the abc string just fine. Do the morse the same... (by pearlyman)
by BEARS
Roman Numeral Converter???
 
I have to write a program that converts numbers into roman numerals, but I'm not really sure where to go from what I have now. Anyone know how I can finish thi...
[9 replies] Last: can you show me how to do that? I just got an intro to it yesterday. ... (by BEARS)
by Jyrz
Linked List Trouble
 
Been working on a Linked List for class and I can't seem to fix this one last function. The extract function should search, find, and delete a link that matches...
[no replies]
Asking for more than one input for Array?
 
For a code I need to write, I need to ask the user for 10 components in an array, which are separated by a comma. This is done twice in order to get 20 overall ...
[no replies]
[Win32 API] change text in a text field?
 
Working with the WinAPI I've got a text box and button set up. I'm trying to make the text in the text field clear when the button is pressed. I presume it's go...
[no replies]
Trying to make a bucket sort, and display the results.
 
I need to develop a bucket sorting program to sort elements in an array. I also wanted to display the contents of the Array so I could confirm that I did it cor...
[no replies]
How do I generate a random operator?
 
Can anyone post a short code on how to generate a random operator (*,-,+,/) please? I can't seem to figure out a way. Thanks
[7 replies] Last: Didn't say it was true... just an example... (by pearlyman)
by Egomar
Seating Program Error
 
The program keeps producing error Run-Time Check Failure #3 - The variable 'selection' is being used without being initialized. Not sure how to address that. ...
[1 reply] : Line 64: you declare the variable Line 118: you use the variable even ... (by LB)
by Sanjew
Using namespace std
 
I'm fairly new to coding but I've noticed something on this forum (at least, maybe in other places); why is "std:cout" used instead of using namespace std and ...
[3 replies] Last: In fact, some are speculating this is what has happened at United Airl... (by pearlyman)
Order Numbers using ONLY If Statements
 
The question I am about to ask is pretty simple. It's part of a drill exercise I'm going through. I need to prompt the user to input 3 Integers, then output the...
[1 reply] : It can be done quite easily. There is something called "loop unrolling... (by LB)
October 2015 Pages: 1... 3334353637... 57
  Archived months: [sep2015] [nov2015]

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