Beginners - August 2013 (Page 49)

How to fwrite and fread for Vector
Hello, I made codes in c++, for encryption and decryption. first code creates an output in vector a...
[1 reply] : I've googled, and found out that the logic to write vector to a file ... (by Cubbi)
counting word occurrence in a file
I am supposed to count the number of times the word "the" appears in a file. i have to count it case...
[7 replies] Last: Of course it would be much better to transform the argument also to up... (by vlad from moscow)
how can i work with paragraph ?
hello i have a small program consisting on getting a paragraph from a user storing this paragraph ...
[6 replies] Last: yes they can, but it makes it easier with vectors. That's only true... (by MikeyBoy)
How to delete an instance of a class
Sorry if I have no friggin idea what I am doing. I am trying to delete an instance of the class CON...
[3 replies] Last: PROBLEM SOLVED!! Thanks guys, here is my new code in my main() functi... (by Coasterfan87)
I am currently making a text based game, need help with "Choices"
Hello, I am new to programming, and just started making a C++ text based game today. I encountered ...
[8 replies] Last: Ah, okay thanks! (by awesomealvin)
adress value
parameter in negative function is an adress But i can send as int and the program gives correct res...
[2 replies] Last: parameter in negative function is an adress void negative(int &i) ... (by MikeyBoy)
Code structure issue
I have a supper class which includes some common functions. The problem i'm facing is, i want to mov...
[3 replies] Last: And then, the problem is here, where should i define the common funct... (by coder777)
Im a bit lost. dont understand the errors Im getting from this. Anyone can help? error C2059 (line ...
[15 replies] Last: achutally there are just few more columns but i dont need it for my ta... (by YumiFerrari)
new and delete/ heap and stack (1,2)
first of what exactly is stack versus heap memory? I was reading something that said basically std::...
[37 replies] Last: I like c and c++ because it is really close to hardware. If you really... (by tath)
Link Functions
Write your question here. Okay my problem is linking two functions; i.e getting a value from the f...
[1 reply] : The parameter of NumberAnimals() is unused. The local variable on line... (by maeriden)
Why is my code not working?
So I have the following code: #include <iostream> #include <time.h> #include <stdlib.h> #incl...
[4 replies] Last: Because that's how modulus and addition are defined. X % Y (X mod Y) ... (by Zhuge)
Graphing Results
Write your question here. I have created a game that functions correctly, however, for balancing ...
[no replies]
Functions and the main
Alright, I have a function, int NumberAnimals(int Animals) { cout<<"How many animals a...
[1 reply] : You'd want to call the function, and store it into a variable. Also, y... (by Ispil)
by ivan1
Read excel data into 2d Array
Hi all, I am trying to read data from excel file into my c++ code. I have 2d array and excel file...
[4 replies] Last: ... (by Mila1)
Functions and Asterixes, (*)
I've been learning C++ off of and its been great and very straight forward. There is on...
[5 replies] Last: In: std::cout << notmain << std::endl; std::cout << *notmain << st... (by cire)
by kuliii
Trouble outputting a function. PLEASE HELP!!!
Write your question here.
[1 reply] : Write your question here. (by firedraco)
Displaying "σ" sign in C++
Hi I am new to C++ programming language. I have done some mathematical computation in my program ...
[5 replies] Last: #include "stdafx.h" #include <iostream> using namespace std; int m... (by parjanya)
twodot ":" in Struct for what
Write your question here. struct{ unsigned int shakeToEdit : 1; unsigned int isClas...
[2 replies] Last: Thanks so much ^^! (by nguyentuandang)
using result of a program
Hi every. I have a question. I have 2 different programs. I want to use the result of the first pro...
[2 replies] Last: I have: file1.cpp #include<iostream> using namespace std; int main() ... (by vuonganh1993)
by admkrk
Using a variable for an instance
This is kind of hard to explain, but I'm working on a game project and hit a brick wall. I have six ...
[2 replies] Last: Hi Disch, I wasn't trying to use a pointer, but I had a feeling that'... (by admkrk)
August 2013 Pages: 1... 4748495051
  Archived months: [jul2013] [sep2013]

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