Beginners - April 2014 (Page 44)

by Subo93
2D array problem
 
/*I'm trying to get increment of salary to the second colum but it gives this error when i compile /usr/lib/gcc/x86_64-pc-cygwin/4.8.2/../../../../lib/libcygwi...
[1 reply] : Sounds like you created a windows application instead of a console app... (by giblit)
Palindrome
 
Hi, I need some help with my Hw. I just need some hints for part e. This is my assignment. http://www.cs.hunter.cuny.edu/~saad/courses/c++/hw/hw7.pdf I managed ...
[2 replies] Last: Aha thank you very much :) I had bit of a problem with the pointers in... (by Junishi)
Random Math question generator
 
Hi, Im trying to make a project that generates a random math question. And gives you limited time to answer it. But what happens is you can't answer it until th...
[5 replies] Last: Thank you so much!!!! (by DesmondSun)
by allekj
keep getting min of array 0
 
I am trying to find the min and max values of an array. For some reason the output gives me 0 for the min, any help is greatly appreciated. #include <iostrea...
[2 replies] Last: thank you for the assistance learning all of this by myself sometimes ... (by allekj)
Help with input 10 # output in numerical order
 
Create a program that will accept 10 numbers between 1 and 20 as input. If the user enters an invalid number re-prompt with an error message for the number. Ou...
[10 replies] Last: Use code tags. Indent your code sensibly. Here's your code with indent... (by booradley60)
help with while and for
 
Create a program that will accept 10 numbers between 1 and 20 as input. If the user enters an invalid number re-prompt with an error message for the number. Out...
[1 reply] : Don't post multiple threads on the same thing. http://www.cplusplus.co... (by booradley60)
Trying to read the file
 
It doesnt display the world and i dont know how count the number ex. Give a number 1-100: 20 Give filename: test.dat The file contains the word Homewor...
[6 replies] Last: the word doesnt appear either (by CodingisFun)
by ksjCPU
Need help with multiple function calls.
 
I can't get the program to work past the vehicle type function. If I try return(1), return(2), etc... I get errors. I'm stumped. #include <iostream> us...
[no replies]
by Vhin
Is there a protected-level Friend?
 
So I understand the reason why protected exists - there may be functions that general users don't need to use or shouldn't use, but are necessary if someone is ...
[no replies]
by xvvll
Help reading numbers
 
I'm trying to read the numbers from this file through a function, however I can't get it to work, any hints are appreciated. This is the file: Mickey Mous...
[no replies]
4 month calendar
 
I need to write a program with the following instructions. I have started it but I am in desperate for help! This is a homework assignment that due tonight Apri...
[11 replies] Last: The function definition goes after the main function definition. int... (by wildblue)
Game programming curiosity :o
 
Hey guys! I started programming like 5 days ago (I'm turning 15 in a month) and I wanted to work as a video game programmer, but I had a curiosity: I bought a b...
[19 replies] Last: This site has video instruction for C. C is the language C++ was built... (by CodeGoggles)
PLEASE HELP? 4 month calendar
 
hi, im supposed to make a 4 month calendar, i keep getting these 5 errors, if someone can please help me fix these, please? the errors im getting are: "80:6 r...
[1 reply] : Please do not post the same question mutliple times. http://www.cplu... (by AbstractionAnon)
Combination without replacement & set subtracts one after combination ends
 
The code below is a combination without replacement. How would you subtract one from integer 'K' and restart the combination after the first combination ends un...
[1 reply] : #include <algorithm> #include <iostream> #include <string> using na... (by Cronus098)
Caesar cipher function works with the exception of a couple letters
 
This Caesar function works except for with a few letters. Any help in correcting this would be really appreciated. I have to have this thing figured out by midn...
[no replies]
by Trewpa
Connect Four C++ Seg Fault error
 
I am writing code for a simple connect four game, I have mostly everything working except when I fill out a column, once it gets to the top of the column it won...
[2 replies] Last: http://i.imgur.com/Lxp25TB.png Once I try to add one more to column 1... (by Trewpa)
by vui
Finding data in a 2d array
 
I'm working on an assignment that requires us to display a 2d array of monthly temperatures for four years...so the array declaration will look something like t...
[no replies]
Simple Connect 4 Program
 
Hi, I'm writing a connect 4 program. I have a couple of questions about the code i've been writing. 1. I'm supposed to be using structures, but I really don'...
[3 replies] Last: If you use a structure, you could have multiple games at once quite ea... (by LB)
file to 2d array
 
Who can help me with an idea: I have file with 2d array and need to read it to int array . I don't know the size of array it can variate. this is my array: ...
[10 replies] Last: At line 8, if (!getline(iss, cell, ';')) the delimiter is specified... (by Chervil)
New to linked lists, having seg fault error
 
So I'm new to linked lists and I keep getting a segmentation fault error. Can anyone spot my error in my insertion and deletion methods? Any explanation would b...
[1 reply] : On line 10, you try to access head->next even though your if stateme... (by LB)
April 2014 Pages: 1... 4243444546... 67
  Archived months: [mar2014] [may2014]

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