Beginners - January 2016 (Page 17)

People at ROS say I don't need ROS nor OpenCV.
 
So I'm trying to code my incredible important AI, so I had gotten to work codin those keyword commands in and coden it up, but, the commands to get say captured...
[no replies]
Pi Values Using Leibniz Formula
 
I am still in the learning process of C++, and I have this assignment due Monday. My problem is that I have no idea how to get started. Here is the homework I w...
[no replies]
by asya
Finding the largest of 15 numbers
 
Hello, I need help with this assignment. I saw similar topics, but the codes were not right. This is my first assignment in C++: Create a program to determine...
[6 replies] Last: Thank you so much. It works just fine. (by asya)
Need Help Finding Simple Error
 
I'm self-studying Bjarne Stroustrup's book "Programming: Principles and Practice Using C++" and I'm stuck on the first drill. He provides code for your to enter...
[7 replies] Last: Disregard this post. I reread the post above. (by molecularman)
.eof problem in file handling in Turbo C++
 
I'm trying to write a code that counts the number of words and lines in a file, but it only outputs the number of words and not the number of lines. Whenever I...
[4 replies] Last: Cire (as always) is correct. You need to review the ifstream section. (by koothkeeper)
Seeking two helpful mentors
 
Hello, I am a student attending a University and I am pursuing a B.S. Computer Science. I am currently learning C++ in school, but I would love to find a me...
[3 replies] Last: Thanks for the wonderful advice guys. I am definitely motivated to lea... (by RayDALL)
Can someone explain me this program based on nested loops?
 
#include <iostream> using namespace std; int main () { int i, j; for(i=2; i<100; i++) { for(j=2; j <= (i/j); j++) if(!(i%j)) brea...
[1 reply] : This code is very poorly formatted. First of all, please post your ... (by koothkeeper)
limiting char input to only process single characters
 
I am writing a program that accepts 10 lower case letters one at a time and then returns the letter that would be first in an alphabetical series. #includ...
[1 reply] : This is working for me: #include <iostream> #include <limits> int ... (by elaleph)
C++ goals: Tips on where to start
 
I just finished college and I was thinking about what I should do with C++. I'm not done learning, not by a long shot, but still I want to focus on one specific...
[3 replies] Last: Well, creating an AI is definitely a VERY big thing. This might take a... (by RUNNER PRO AGARIO)
by Arquon
Why is while loop producing an extra loop ?
 
So Im having trouble with this code - while loop makes an extra loop at the end, which then results in wrong answers. My 'i' variable cant be higher than 65, bu...
[7 replies] Last: Make sure you understand why it works, there is now second implicit lo... (by TheHardew)
Breaking a string
 
Hi, I learning about C++ on the run. I am a retired Pascal programmer and last used C when K&R got to about revision 0.0.3. :) OK, well maybe not that far back...
[2 replies] Last: Awesome JLB, thanks very much. Part of my problem is trying to find o... (by PascalShock)
Help!!! trouble with Array loading and Debugging
 
I'm having some issues with this project I've got a baseline of code but my void is reading as incomplete. I'm thinking that it might have to do with the loadi...
[no replies]
Help with infinite loop
 
Hi, I'm trying to write a small game called Pig the Dice. The description of the game can be found here: http://rosettacode.org/wiki/Pig_the_dice_game I've b...
[2 replies] Last: Getting rid of all the return statements expect the last one in your t... (by Mort88)
If/Else if statement help
 
Hey guys, I'm just now learning c++ in college (have used MATLAB quite a bit already) and I'm having a problem with a lab code that is supposed to convert from ...
[5 replies] Last: Did you fix the: else (type); (by AbstractionAnon)
Incidence matrix
 
Hello. I am challeging myself in one intresting task: I need to find out if there could be a way from one Vertex to another in Incidence matrix. So I arranged t...
[8 replies] Last: It's hard for me to say what the problem is. I don't understand how th... (by dhayden)
by sash99
math equation in c
 
hi there, being trying for days now, but this math equation from perl does not tranlate the same in c #!/usr/bin/perl -w -s { $test1 = 0x47; $t...
[5 replies] Last: thanks guatemala007 but appearently does not work on arduino platform... (by sash99)
by Shero
2-Dimensional Array
 
Greeting Everyone i am a beginner in C++ . i need your assistance in the below codes i have done the code of finding the max value but i am stuck at finding the...
[6 replies] Last: Thank You Everyone i am really grateful for your suggestions (by Shero)
by alitt
add is work but minus doesnt work
 
hi this is my code with function, it works when adding numbers but when i change line 27 to minus (like this sum-=a )answer is 0 #include <iostream> using na...
[17 replies] Last: @elalelph is right. (by jgg2002)
problems with [code]delete[/code] in destructor
 
Hi, I cant figure out how to solve this problem. I have to create some node class and it is supposed to have a pointer to another node as data member. ...
[5 replies] Last: What you can do is you can pass in a function pointer or a functor or ... (by guatemala007)
Code Help- resetting in while loop
 
I have a code here, that is supposed to check for and display the vowels and how many of each vowel the userInputed. But i have a bug, if i hit "y" to run the p...
[1 reply] : Code tags would be nice. After you have done all the counting and sho... (by SamuelAdams)
January 2016 Pages: 1... 1516171819... 29
  Archived months: [dec2015] [feb2016]

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