Beginners - February 2013 (Page 15)

first post
 
hey guys, so i recently started taking c++ for school(6 weeks in class) and we were assigned a new p...
[2 replies] Last: ahhh ok, so i changed my if statement to the following: if (popChange... (by XxEnigmaticxX)
Reading in numbers from file with loop
 
I have a school assignment that's as the following. Input: Use the following data, which can b...
[1 reply] : You could open and close the output file in function main() and pass i... (by Chervil)
nhandled exception at 0x779415de...
 
Hello, I have a code where i am trying to find the second largest number in a 2d array however...
[1 reply] : You probably should pass a instead of 0 as the first argument to Secon... (by Peter87)
need help in the string vector
 
#include <iostream> #include <vector> using namespace std; int main(int arg, char*args ) { ist...
[5 replies] Last: thanks guys. I will improve this field. (by DANNY123)
Make bit of code only run if the program has admin rights?
 
Okay, so I was wondering if there was a way to run code only if the program is running with admin ri...
[2 replies] Last: Windows. This is for a windows 8 trial refresh/kms activation tool. (by Gameboy24)
When I use cygwin I keep getting -bash: g++: command not found
 
I my saved notepad folder into my cygwin home folder (so when I started cygwin terminal it would be...
[2 replies] Last: cygwin doesnt have g++ by default (by closed account Dy7SLyTq)
by Kubani
unmatching in default constructor of Year
 
Hello all, This code is from Programming Principles and Practice using C++ by stroustrup: ...
[13 replies] Last: thank you dear AbstractionAnon for your explanation. The case was abou... (by Kubani)
problem with break statemnt and function called from an other function
 
The program not beaking when the user not entered the correct user name or correct password. so for ...
[1 reply] : Consider the following snippet of your code: if (passwrd==pWo... (by AbstractionAnon)
I want to create a "dictionary" but I need some help
 
I'am very new to learning C++ but I like it, basically I'm trying to create a simple code where if I...
[4 replies] Last: @Lynx876 - Good catch. I missed that. Thanks. (by AbstractionAnon)
Matrix multiplication operator
 
I'm writing a program just to show that I can use operators in matrices. I've done it for addition a...
[2 replies] Last: The error that toum pointed out is a good reason to use names someth... (by TheIdeasMan)
Beginner Tic Tac Toe Efficiency
 
I started learning C++ two days ago by watching beginner video tutorials on YouTube. Since the best ...
[2 replies] Last: Ok, thank you very much! I will definitely be changing this up and usi... (by RyanHecht)
How to determine primes in part of a program
 
Hey, so far i have compiled most of the program i need, but I'm stuck with how to determine whether ...
[17 replies] Last: @smac89 - The original requirement was that the password was 5 to 8 di... (by AbstractionAnon)
by Nonlin
How do I retain function value?
 
I have to pass parameters into my function so that it can be called right? But since I have a while ...
[6 replies] Last: Oh wow, thanks. So simple... It bothers me how simple this fixes are. ... (by Nonlin)
vectors
 
Hi, I am a beginner of c++ as you see this post in beginner section :). Iam having troubles with run...
[4 replies] Last: It doesn't matter what compiler you're using, at least not for 1998 co... (by Cubbi)
by fx11
How are objects passed to functions, and what is passed?
 
Friendship and inheritance http://www.cplusplus.com/doc/tutorial/inheritance/ Friend functions: ...
[2 replies] Last: // friend functions #include <iostream> using namespace std; class... (by fx11)
C++ File I/O, find specific data on a file and print to screen.
 
So here is what I am trying to do. Our assignment is to create a simple phone number directory. The...
[no replies]
error c2664 'memcpy' : cannot convert parameter 1 from 'int' to 'void *'
 
Hi little new to c++, hope I am in the right section. I researched the error code and its obvious...
[8 replies] Last: Thank you i understand it now, Ii read over that page a few times just... (by nukem266)
by krutuk
Problem with loop
 
Hello, I did this function in main() and it works. Yet now I want to do it through the functions and...
[4 replies] Last: there is confusion in your pointer assignments as I said earlier. You ... (by abhishekm71)
two dimensional arrays function call
 
*edit* I see the indentation is weird, hope you can make out what the code does. Hi! I'm new at pr...
[3 replies] Last: In function main() these two lines simply declare the functions (tha... (by Chervil)
HELP!!!
 
what does mean *s,*a,*m,*k..... symbol
[1 reply] : Well, when you put the asterisk in front of a variable that's being de... (by RobertEagle)
February 2013 Pages: 1... 1314151617... 67
  Archived months: [jan2013] [mar2013]

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