Beginners - October 2015 (Page 20)

Help with text files?
 
-Hey, guys so I have a problem that I am trying to figure out and it goes something like this.... ...
[2 replies] Last: Maybe we could start with some skeleton: open file a for read open fi... (by liuyang)
by tyee
help please begginer in cs 246, im having a hard time. needed asap. thank you
 
a) Write a void function called make_it_sequence that takes two parameters: an an array of int val...
[2 replies] Last: A few basic constructs you may need: The 'for' loop to fill array and... (by liuyang)
Not sure what this question is asking me to program?
 
Just learnt about arrays today so I'm not very good at them. But I have a practice question where it...
[1 reply] : Okay, what you are doing on line 15 is setting the 50th element (which... (by Tom56785)
by FeZzi
Body Fate By Using Switch Statement
 
Convert This Code to Switch Statement... #include <iostream> #include <math.h> using namespace st...
[2 replies] Last: switch(gender) { case'm': case'M': //your calculations you can just co... (by Hardisius)
Dividing numbers using recursion
 
So i need to write a function that divides 2 numbers and gives a remainder and a quotient using recu...
[no replies]
by jksdk4
Build errors are being thrown on class definitions
 
I'm trying to design a class to be able to accept various input and then return the values. Every ti...
[3 replies] Last: Hi again, Some other things: Consider using a ctor initialiser list.... (by TheIdeasMan)
Function call problem
 
Hi, I'm new to programming and I need help with this problem. I have this piece of code: #incl...
[2 replies] Last: Thank you very much! (by nebula190)
Arrays and Functions
 
Hey! At a loss here. So i have to create different functions for a main that will create an array an...
[3 replies] Last: By returning the array I meant returning the pointer to the array. I e... (by Sweats)
Code error
 
Can someone please tell me what's wrong with my error and why it's not working #include <ios...
[2 replies] Last: Thank you so much (by GGWPBOT)
by Andym
if, and, or.......uh...?
 
I know, I'm dating myself here but I feel like the old Saturday morning School House Rock song....."...
[18 replies] Last: You go get your own thread Douas. the typical yank response, interferi... (by closed account 48T7M4Gy)
Reading my file's .exe
 
So i have an assignment to write a code that reads its own .exe file, and output only the ASCII char...
[3 replies] Last: It's ASCII characters not ASCII letters. ASCII characters is : 0~127 (by hdj)
HOW DO I ADD COIN VALUES?!?
 
How do i go about setting quarters to 25, dimes equal to 10 and nickles to 5 and pennies to 1? ...
[1 reply] : total = (pennies + (nickles * 5) + (dimes * 10) + (quarters * 25)) / ... (by closed account E0p9LyTq)
Starting in C++ Programming (Sine,Cosine)
 
Sorry for delete the code, my chief doesnt like it, and I can be fired or something
[3 replies] Last: Solved (by bananasamurai)
by jethko
Parts of code being skipped
 
Okay so I am playing around with simple encryption, in this case XOR. I have put the Encrypting part...
[4 replies] Last: Oh wow that's much better :D oh okay. That makes sense :) okay sweet... (by jethko)
Help with Switch & Calculation Sets
 
Can anyone tell me how to use a statement, maybe switch, to change the used block of code of calcula...
[3 replies] Last: Sorry but I am trying to do it using switch, I hate that I have to tho... (by Panda187)
Please help on my homework
 
My question is: name global variables type of t100? #include <iostream> #include <fstream> using ...
[6 replies] Last: I think I still don't understand your question. where are global vari... (by dhayden)
Division using Recursion
 
I need to write a function dividing 2 numbers using recursion. I cant use any loops or the division,...
[1 reply] : Remember that division is just repeated subtraction . I'm going to m... (by Duthomhas)
Help with homework =/
 
I really need help, Got for homework to write the following code, but I have no clue how to do so...
[7 replies] Last: As I interpreted your OP, x and y can be any points on a Cartesian gri... (by AbstractionAnon)
Need some changes with function (C++)
 
Hi! I 'm new here. Well, i have some problems with my code. First of all, i speak spanish, so i migh...
[1 reply] : Quite possibly line 55 should be: while (opcion == 1){ (by Norm Gunderson)
expected ';' before ')'
 
although i have put ; before ) it keeps showing me an error. what's wrong with my code? Put th...
[1 reply] : printf("mikroteri %d\n"), smallest); Too many ) in this statement.... (by Norm Gunderson)
October 2015 Pages: 1... 1819202122... 57
  Archived months: [sep2015] [nov2015]

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