Beginners - May 2015 (Page 5)

Regarding Pointers and Functions
 
I am having a hard time figuring out why I need to add the "if (addition) {}". In other words, if I run the code by simply writing, "*addition = x + y;", it cra...
[3 replies] Last: Peter and Andy, thank you both for your answers. That really helped cl... (by jhykima)
This is for school.I need help about algoritam and writting a programme in C++ .
 
Write your question here. Write a program that modifies a given sentence by the last word to the beginning of sentences.To consider that words are separated by...
[1 reply] : Please note that this is not a homework site. We won't do your homewor... (by keskiverto)
Need Assistance with Large Number division
 
Hello all, For a project in school, I need to encrypt some text using the RSA algorithm, and I need to generate two large primes (bigger than any type) doing ...
[no replies]
by c4l
Finding digits on a number with size 10^100
 
Hello, I need to write a program that finds the digits of an integer with a maximum size of 10^100. I understand all the algorithms, but I can only use them wit...
[8 replies] Last: [quote=OP]I know how to do this with any regular integer, I just don't... (by Duthomhas)
tiny question
 
hey everyone, am i required to use function other than main in this question or return this values in main ? (I've already solve it) Write a C++ program tha...
[10 replies] Last: You need to declare the function as such to define its return type. ... (by Codermik)
Friends Of Classes
 
Hi all, I am doing some review on class basics and according to the book that I am working out of, it states that friend functions are not members of the cla...
[2 replies] Last: Thank you firedraco. I suppose I should be more careful when typing in... (by mlholder)
If already ran, don't allow to run again.
 
Alright, so I am using C++ to make a modification to a game. So if you don't understand the coding logic then I can explain. Alright so this is pretty basic stu...
[3 replies] Last: bool allready_done = false; // set flag after operation and check be... (by Gamer2015)
I going back to school and need help
 
I wanted to go back to school to learn more the bad thing it is an online learning class. I have emailed the Instructor a few times and have not got any respons...
[11 replies] Last: f=(input * 9.0) / 5.0 + 32; printf("Temperature is in Farenheit %.f... (by blankrama)
by kww228
Big O: Worst Case Complexity
 
I am stuck trying to figure out/understand the worst case complexity of a function using Big O notation. int findEven (int a , int n) { int i = 0;...
[5 replies] Last: So the worst case does not depend on how large something is it depend... (by Gamer2015)
Help on school project
 
My project worked right up until i wrote about the "after three months" After that part the rest of the code wont work it's like there is a getch () there. it s...
[6 replies] Last: no problem, good luck :) @mpacker, I had the same reason to join :> (by Gamer2015)
by Dansio
Error while run
 
Write your question here. Program Menu which will choose whether imported string will encode or will decode .Coding and decoding will be dealt with 2 func...
[2 replies] Last: God bless you! Thanks my friend, it works properly :) (by Dansio)
Strings not listing correctly and file whith special characters not letters
 
#include <iostream> #include <cstdio> #include <conio.h> using namespace std; main() { FILE *fp, *ft; char another, choice; ...
[1 reply] : Of course it shows special characters which represent the object that ... (by Smac89)
LNK 2019 Error
 
I'm making a text based game and I ran into this error and I do not know what is causing it, please help: Error 1 error LNK2019: unresolved external symbol "...
[3 replies] Last: thanks so much guys, it is all fixed now. Cheers (by FighterCoder)
help with strings
 
Hi everybody,,please help,,i have array of char,i have to split it into tokens with strtok and set alphabetically,,,,please help #include<iostream> us...
[2 replies] Last: i've done strtok i just can't sort alphabetically (by programmer0)
random string for asterik masking error help?
 
hello everybody i was create a hangman game with string and random to every i run the program but retry point and asterik no t worki please help!!!!. i was des...
[8 replies] Last: Why do you want to use arterisk or whatever it is I gave you an exampl... (by MRQ1)
Reading text files with different information
 
Hello all, I am working on a project that contains a text file that I need to be able to read and parse information from. The issue is that the text file co...
[1 reply] : What have you tried? I'd start by reading a line into a std::string,... (by jlb)
Can someone explain this?
 
Can someone explain this to me please? I'm not 100% sure of how this program works #include <iostream> void print() { int v = { 0, 1, 2, 3, 4, 5, ...
[19 replies] Last: I think it was already here when I created my account so at least 6 mo... (by TheHardew)
Need some hints, trying to solve chapter 7 in the book 'Jumping Into C++'
 
Hello, i've been trying to solve this for a day now, i can't seem to figure it out. I'm on chapter 7 in the book Jumping Into C++ . I feel i'm always very c...
[2 replies] Last: Thanks, i'll see if i succeed :-) Thank you again :-) (by jolo309)
Can't solve a struct init-declarator error
 
Hi guys, check out my program, I am desperately in the need of help because I can't fix my error. #include <iostream> using namespace std; int main() struct s...
[6 replies] Last: My gawd, why haven't I thought of putting it before line 29 ehuauheahu... (by EightBitHopes)
by ajr123
How to plot graphs in C++?
 
I Am using Visual studio 2013 . I have 2 vectors one for X-axis and another for Y-Axis.. How to show as a graph graphically?
[3 replies] Last: If I remember correctly there are actual graph plotting libraries like... (by shadowmouse)
May 2015 Pages: 1... 34567... 40
  Archived months: [apr2015] [jun2015]

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