Beginners - November 2015 (Page 21)

how can i make this star pattern?
I want the code to print this; * ** *** **** ***** I cannot go further than this. #include <iostream> using namespace std; int main () { for(i...
Nov 19, 2015 at 3:05pm
[13 replies] Last: That shouldn't be too hard to solve, you just need the loop at line 15... (by Chervil)
Very simple question, about copying
How i can copy from idle py to C nano? Best regards,
Nov 19, 2015 at 1:01pm
[2 replies] Last: Its not working ;/ My be there is command? Like ( make a copy of f... (by dasmas123)
Problem with ecuation
Hi! Im a newbie at C++ Programming. I'm trying to code a matrix, and one pointer stucks out of the range, and I cant find the error. Can you help me?
Nov 19, 2015 at 12:11pm
[3 replies] Last: 3 (by closed account EUSGy60M)
Factorial Function.
Write a program that defines and tests a factorial function. The factorial of a number is the product of all whole numbers from 1 to N. (Use the for loop). ...
Nov 19, 2015 at 11:51am
[4 replies] Last: Question, does this test and define the function? No. See the tutori... (by dhayden)
Help with Menu
So my lecturer ask me to create a virtual room with a complete Menu consisting Add, View, Delete and Exist. I made some codes but I got stuck on how to create t...
Nov 19, 2015 at 11:25am
[7 replies] Last: if I wasn't sitting in front of a java compiler 200 miles away from my... (by mutexe)
pointer question
In the following procedure, I don't seem to understand how to specify the ptr_to_tree -> ptr_to_left ptr_to_tree -> ptr_to_right parameters void Add(no...
Nov 19, 2015 at 9:04am
[2 replies] Last: beauty, thanks (by dschwart)
Help with class test tomorrow?
Hey guys, I have a c++ class test tomorrow that counts towards my final module grade. I am a beginner and very inexperienced in programming and I have been s...
Nov 19, 2015 at 8:38am
[2 replies] Last: For the first bullet, you'll need to think along the lines of for( /... (by YFGHNG)
Segfault while using arrays, pointers, and for loops.
I am doing an assignment for class in which we are required to use pointers for nearly all of the project, so please excuse the nonsensical usage. The goal is...
Nov 19, 2015 at 7:46am
[1 reply] : In retrospect, ptr < ptr + startingSize; might be one of the dumbest t... (by LyingCake)
Arrays, loops, I need help
Write your question here. #include <iostream> #include <iomanip> using namespace std; int main() { double balance; int deposit; int withdrawl; ...
Nov 19, 2015 at 7:08am
[1 reply] : first mistake wrong way of increment in for (num = 0; num < 3;num+1)... (by CoolGuy)
Find a string in a string
Write your question here. Ok so basically all I want to be able to do is have the user input something,and then check through whatever they typed to see if the...
Nov 19, 2015 at 6:22am
[6 replies] Last: Is it compulsory to use vector? If not then you can do it with string,... (by CoolGuy)
Indicating position in a 2D Array
I'm working on a project with targets and candidates. I have to indicate the closest candidate match to each of the three targets. Each candidate is given a sco...
Nov 19, 2015 at 5:13am
[no replies]
Something wrong with for loop
So our problem is: Read in five scores and output the average; then, for each score, output the amount by which that score differs from the average. For e...
Nov 19, 2015 at 4:31am
[2 replies] Last: Thanks so much! (by ianheinze)
Help with nested loops
Hello, I am having trouble with this nested loops. Can someone explain how to solve this problem? Task: At the beginning of every year, Paul receives a raise ...
Nov 19, 2015 at 3:53am
[1 reply] : if I understand the issue you're having correctly, you want the yearly... (by Hirokachi)
by kaned1
Problem making a function to remove white space and punctuation from a character array
Hello, I'm trying to create a function that takes in an array of characters with a string, for example ENCRYPT THIS MESSAGE. I have read a few other topics o...
Nov 19, 2015 at 3:17am
[1 reply] : The trick is to remember that you need two indices: one for the old ... (by Duthomhas)
help with a not declared code error
...
Nov 19, 2015 at 3:05am
[1 reply] : Several things, At line 57, tweet() is spelled with a lowercase 't... (by Chervil)
by fr52
help with two-dimensional arrays
Good evening everybody. Sorry if I have opened another discussion, but I couldn't find the soultion for my problem anywhere. Hoping someone can help me. It's ju...
Nov 19, 2015 at 3:05am
[1 reply] : I tested your code and it worked fine (by clarkkent)
3 quick questions
1) Could someone link me to something explaining how to make c++ email me a .txt file. 2) Is it possible to attach a keylogger to a .JPG/.PNG, .PDF, .TXT ect...
Nov 19, 2015 at 3:00am
[no replies]
Inherit and calculate dot and cross Product
I do not know how to correctly print the cross product. Im supposed to get 3 numbers but doesn't work. If you see any improvement i can make in my code, please ...
Nov 19, 2015 at 2:25am
[9 replies] Last: lml i would not say that tho because my professor is the best qualifie... (by jhsyber)
2-Dimensional array allocation
Hello, I am trying to create 2D array allocation and assign values for them then delete them after printing them out on screen, i did everything right except t...
Nov 19, 2015 at 2:21am
[4 replies] Last: Thank you so much (by GGWPBOT)
Searching through a linked list for all players with the same team
I'm trying to search through a linked list of players for players that have the same team name and output the ones who have the same team. So far this is what I...
Nov 19, 2015 at 1:03am
[no replies]
November 2015 Pages: 1... 1920212223... 53
  Archived months: [oct2015] [dec2015]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.