Beginners (Page 7)

go to new line
Hello! I have a text file "try.txt", which has 10 lines: Chun Mee Pu-eth Slightly sweet and eart...
[2 replies] Last: Thanks a lot! It works now! (by orbisunum)
by NoBark
SFML and matrix drawing
I've been working on this for a while and after cleaning it up/optimising it, nothing wanted to sho...
[1 reply] : keymove() is undefined so this shouldn't even compile. Don't load t... (by Yanson)
Regarding .h and .cpp files.
So I've been taught to never include .cpp files in the main.cpp but instead include the .h that refe...
[5 replies] Last: player() is the constructor; it is called when an object of the class ... (by firedraco)
Help me in programming
Write your question here. Which operator will be used here and why? I want to create a short pro...
[6 replies] Last: you need two variable that will hold the " 2 integers" and one for the... (by Lorence30)
by Ch1156
Assorted C++ Questions
Here are some c++ questions I had written down after reading some books. 1. When would I need t...
[6 replies] Last: I'll give it a try too #1: as tcs said, it's for short-lived resource... (by Cubbi)
by Lee125
Array 2D
hello guys. i cant count the sum of milk. Please help me. #include<iostream> using namespace std...
[2 replies] Last: You have a big problem: you are accessing a position of an array that ... (by nbro)
C++ help needed: Infinite loop
The program should properly display a box of the given link. However, the box keeps going on for inf...
[4 replies] Last: @AbstractionAnon C++ and C + 1 both increment C by 1. They are interc... (by AbstractionAnon)
Dynamic Array of Structures
This is a problem from C++ Primer Plus that I am stuck on. I googled around and I am still not sure...
[2 replies] Last: Derp... thanks keskiverto. #include<iostream> #include<string> u... (by bulba5aur)
loop problem.
i cant figure out how to size the length of string when there's null. #include <stdio.h> #...
[7 replies] Last: @minomic, why STR-1 ? cant quite understand. in func morse, i should... (by wek9876)
by far123
how to read specific char like "and" from .txt file?
[7 replies] Last: thank you. (by far123)
iosfwd exception
This is the code that reads from a txt line by line, and encodes characters using ziv-lempel algorit...
[1 reply] : Hey, thanks for help :P Anyways, I found the problem. Problem was rel... (by o0reyiz0o)
Infinity problem
Hello, I need to use infinity in my program. int max = -oo; The compiler warns ab...
[4 replies] Last: There's no such thing as infinity for integers. That said, you can st... (by Duoas)
by ebucna
remove spaces from string
Hi all, I need to compare strings but without taking spaces into consideration, so I need to trim my...
[2 replies] Last: thanks allot, work perfectly... (by ebucna)
Storing calculated values in an array
I have an assignment in which I must manipulate an array in several different ways. I am stuck on tr...
[3 replies] Last: Line 10: void findDifferences(float, const int , int) and Lin... (by tcs)
I need help editing my code.
This is simple enough but I'm confused on how to change the getList() member function. Currently it'...
[13 replies] Last: Hey that's fine I appreciate the help. That's why asking questions is... (by nichan79)
a simple question about c
Hi. Im just beginner about programming and i have problem about c. I hope you can help me. I use Dev...
[1 reply] : 1. scanf() needs a variables address instead of its value: scanf("%d... (by tcs)
by anhnha
function pass by both pointer and reference
I just came across a function definition as follows. I learned function pass by value, reference an...
[4 replies] Last: Well, they help! Thanks!!! (by anhnha)
by Lee125
Cannot count number of consonats.
Hello guys. i need someone help. i cant count the number of consonats. #include<iostream> using...
[4 replies] Last: What if the user enters the code for ' 'or '.' or '$'? You are counti... (by dhayden)
Given a numerical pattern below: 1^2 + 2^3 + 3^4 + 4^5 + .... + 19 ^ 20 What is the last last ...
[5 replies] Last: thank you anup30 ! it seems I have to improve my math skills... thank... (by xgeutzu)
Need tutorial reference
Here's a code that I don't understand: int myints ={1,2,3,4} priority_queue<int, std::vector<int>...
[1 reply] : You should read this: (by minomic)
Pages: 1... 56789... 110
  Archived months: [oct2014]

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