Beginners (Page 72)

Boolean function error
But the problem is that this function is good if I know the number of elements in the array, otherwi...
[4 replies] Last: dhayden Thank you very much you are such a great guy. And thanks to t... (by sysmassjo)
by mqazi
Casting Pointers
When casting a double into integer pointer, which 4 bytes will be assigned to the pointer ? first or...
[1 reply] : The first, meaning that p will point to the byte of x with the lowest ... (by dhayden)
by VVS
postfix and prefix modes
I'm a little confused about the ++ and -- expressions... this is one of my questions that i'm trying...
[2 replies] Last: i thought answer would be 1,2,3.. which isn't an option so is it A? ... (by Peter87)
Linked List Question!
So i'm fairly new to pointers. What I'm trying to figure out is how can I be able to assign 2 differ...
[2 replies] Last: You can actually figuring out a pointer using postman and address conc... (by quisite)
need help!
I have to write a program for this homework below, but I'm stuck.I am fairly new to programming, so ...
[2 replies] Last: I second putting your code in tags. Regarding the error you're... (by fg109)
Coin flip issue
I'm trying to determine the probability of a coin flip. However my coin flip to determine the # of h...
[4 replies] Last: because after tossing 1000 times You toss it only once, then run loop... (by MiiNiPaa)
been coding for a week how is this looking?
just wanted some feedback from some seasoned programmer i have only been at this for about a week i ...
[3 replies] Last: thank you guys for the detailed explanations they helped a lot much ap... (by stickypurple27)
Printing number of lines, words, char, etc in a string
Hello everyone. I've been assigned to create a program to print out the number of lines, words, char...
[2 replies] Last: Hello everyone. After many tutorials online, readings, etc. I've got i... (by TheCoolest2)
by Nol45
University Homework Help
My assignment is to: Write a complete C++ program that read in from the key board a string and co...
[4 replies] Last: @Shamieh that was just given that students to know how toupper(); fu... (by ButchCavendish)
by Sym8
loop issue
so this is a checkout program. Hers my problem: the user enters 1 to enter checkout and then enters ...
[5 replies] Last: what? That doesn't even make sense. You want to tell the user to enter... (by shamieh)
Tracking Binary Search Comparisons
Hi everyone. I'm working with binary search. I need to track the actual number of comparisons made w...
[5 replies] Last: Solutions are always so obvious when you finally get to see it :-/ (by thomaselder84)
Generating 4 columns of numbers - need help
Hi everyone, I need to generate four columns of numbers which are 1) NUMBER: Odd numbers from 5...
[13 replies] Last: Line 61, put endl outside of the if block. Ah, I see the problem. I... (by Arslan7041)
can someone help me fix this code, please? Beginner
So basically I have 2 arrays, int A and bool B . What I need to do is to read from a file 48 num...
[2 replies] Last: Your formatting makes your code hard to read, especially since you're ... (by fg109)
4 integer in ascending order
Hi guys, So let me start off by saying that I saw the old archived post on this topic, but I found...
[8 replies] Last: [quote=rokujohaven]why would you have multiple (b < a) statements? Th... (by fg109)
Help finding most frequent co-occuring words?
Hi. I am writing psuedocode as an exercise. If I am given an article and need to find the most frequ...
[1 reply] : I would use a std::map<std::set<std::string>, std::size_t> - the inn... (by LB)
Using combination algorithm to generate pairs of strings
Hello, I am looking to write all possible combinations of strings stored in a data structure. Here i...
[4 replies] Last: You can use std::accumulate : (by LB)
by Cooper
Displaying a .txt File with a While loop and the .substr() function
Hey guys, my first post here. I'm working on an assignment that basically has a list of Mail reco...
[4 replies] Last: This is extremely helpful, thank you so much!! (by Cooper)
overloading operator- power operator
i created a fraction class and now im trying to create an overload operator for the power function t...
[2 replies] Last: @obscure, ahhh thank you. much clearer now (by nevadarain)
Pages: 1... 7071727374... 84
  Archived months: [feb2015]

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