Beginners (Page 24)

Basic Encryption
 
I am making a basic encryption program for strings and it wont encrypt the first character. any idea...
[4 replies] Last: so i thought i could upgrade your code somehow: #include <iostream>... (by Yolanda)
Loop to output (5) random numbers:
 
#include <iostream> #include <string> #include <cstdlib> #include <ctime> using namespace std;...
[5 replies] Last: [quote=Handy Andy]The question is should it be a do/while, for or whil... (by icy1)
by zapshe
Quick question About "for" functions
 
I recently used a for statement for a code that calculates the distance of an object every second af...
[3 replies] Last: I was wondering about the difference between A and C. But it's fine no... (by zapshe)
How to limit the number of user input
 
I want to make the user can only guess 10 times after that they win without guessing the number 5. W...
[5 replies] Last: Hello BeginnerOnProgram, Line 18 is set up correctly, but "count" is ... (by Handy Andy)
largest value of 2nd row in 2d array
 
Hello, my code needs to find largest value of 2nd row in 2d array. Everything works fine untill the ...
[1 reply] : Your code did not build on my computer because the array needed const ... (by Manga)
Array
 
Hello, I was working on this code and I'm having some trouble. Please help. What I have to do: ...
[2 replies] Last: Hello shortyvivian, When I compiled the program the first error "expr... (by Handy Andy)
array
 
Create a 2-d array containing the scores of 4 athletes in last 6 events. Read the values from the us...
[1 reply] : Nice little exercise. Here's a starting point, assumes that score is a... (by Thomas1965)
by zapshe
C++ Cross-platform Windows/Mac?
 
So I've been hearing several things, and I'm assuming the answer lies somewhere in the middle. I've ...
[9 replies] Last: "stdafx.h" is only for visual studio, right? NO, imagine the followi... (by Thomas1965)
Decimal cutting off when calculating median of even numbers
 
When I try to find the median of an even amount of numbers, the decimal is being cut off of the answ...
[5 replies] Last: float getMedian(int getStudents, int* setMovies) { return 0.5 * ( ... (by lastchance)
debug for struct array
 
I am having problems with debug sections, please help #include <iostream> #include <string> ...
[1 reply] : Line 30: You cannot print div_info directly. Try something like c... (by coder777)
by ar2007
file .txt
 
Hello everybody. I wrote a program to extract a text file, process it, and then rewrite it in anoth...
[4 replies] Last: I will try to explain myself better. the problem is that even if impos... (by ar2007)
by MKKUER
Code Improvement
 
I've crafted myself a single - player Battleship game, but I need ways to improve it. So it's both m...
[2 replies] Last: using classes: 3 files {game.h, game.cpp, main.cpp} ///game.h #ifn... (by Yolanda)
How to handle when there is no mode?
 
I am having a little trouble with my mode function. I need to add something so that if none of the n...
[2 replies] Last: There is never "no mode", @stormbot. It would lead to hopeless inconsi... (by lastchance)
Prime Numbers
 
An integer greater than 1 is a prime number if it does not have a divisor that is greater than 1 and...
[3 replies] Last: If it works for everyone else but you're asking for help, I'm going to... (by zaphraud)
Problems setting up IDE
 
Hello, I'm having some issues setting up Code Blocks. https://imgur.com/a/IKHNP First issue ...
[9 replies] Last: Did you download the Code Blocks with a compiler or without one? Assum... (by Ganado)
loops
 
(The formula for converting a temperature from Fahrenheit to Celsius is C=5/9(F-32) Where F is the...
[3 replies] Last: thank you for verifying <3 (by garza07)
Maybe Declaration problems,(nested classes)
 
Undefined symbols for architecture x86_64: "entrance::new_processor", referenced from: ent...
[2 replies] Last: Thanks guy, rly help me a lot (by cabbdeng)
Some other valid operations with arrays
 
Hello, i cannot figure out what this following line does. foo[foo ] = foo + 5; ...
[5 replies] Last: I think the tutorial's examples try to emphasize the fact that an elem... (by keskiverto)
by Kelkut
reading csv file and saving elements as int16_t
 
Hello, i have to read a csv file and saving some elements as int16_t. The file is of this type: 1...
[12 replies] Last: Thank you all. (by Kelkut)
I can't transfer the money and ı want to substract the money from sender how can ı do that?
 
Write your question here. #include<iostream> #include<string> using namespace std; cl...
[5 replies] Last: Andy you're the best thank you (by FURKANkartal)
Pages: 1... 2223242526... 47
  Archived months: [feb2018]

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