Beginners - April 2016 (Page 25)

Sorting Algorithms
 
I'm having trouble using these different sort methods after I call the bubble method at the bottom it breaks completely and non of the other functions are worki...
[no replies]
Conversion Error W/ Multidimensional Array
 
Hello, I just made a cplusplus account. I was having an error when I was backtracking my teacher's example meant for assisting us with the later homework. **...
[no replies]
Cpp games
 
okay so we know too many games are created with C++ but i have 1 problem. i have got San Andreas open sourse and there are about 200 Cpp files. I dont know ho...
[2 replies] Last: i have wait for long days and i didnt get an answer please help mee T... (by armando2)
pointer and cstring array
 
If I have a cstring array char *a ; how do I make a={"aA", "bB"} character by character. In another word first assign 'a' to the first character of the first el...
[2 replies] Last: Well, I mean array of cstrings. If char a ="helloXworld" , then I wa... (by heyhelloworld)
Output file only has first value
 
Hey everyone I'm trying to open a file and then output the data from the file to a new one. Unfortunately I'm only getting the first value from the original fil...
[4 replies] Last: Thanks a lot that worked! (by gcoder97)
by DY8
Need help
 
Input: A file contains up to 200 test scores ranging in value from 0 to 100; the last entry in the file is a sentinel value of -999. Output: In an output file,...
[no replies]
Random number generator
 
is it possible to create a random number generator for a given range without repeating number and without using pseudo random number generator method??
[2 replies] Last: Yes it's possible: - Pick a random number from that range - Remove tha... (by Smac89)
Binary Search/Sort Help
 
reate a program to do the following: 1) Read in names to sort until the user types the “enter” key as the first character of a string (the maximum number...
[1 reply] : Err...no. You are missing the names to be sorted by the bubble sort an... (by Smac89)
reading a file and sorting it alphabetically
 
hello there, i am trying to read a file and sorting it alphabetically, i do not know how to tackle this issue. so i am reading a file that contains , St...
[2 replies] Last: thank you for your help. so i tried this one and it did not work: ... (by sdarifi)
Memory leak during dynamic allocation of array of pointers
 
First post here, I'm completely stuck on this problem so I hope someone can help me out. I've searched extensively and I can't wrap my head around this problem...
[2 replies] Last: *edit* Nevermind, your suggestions worked! Thank you so much. My pr... (by CosmonautRoger)
by Ika03
cannot convert parameter 3 from 'double (*)[1]' to 'double *[]'
 
Hai. I have 3 file; test.cpp file, makan.cpp file and header file. The main function is in the test.cpp file where have a call function makan to compute the out...
[4 replies] Last: All LNK* are linker errors. The linker that you do use does have a man... (by keskiverto)
printing an array in fields
 
i am trying to get my array userVals to print in 5 columns for rows for it has twenty values entered into it? void everything(float userVals , float total ,f...
[2 replies] Last: okey i fixed it an the whole program is running good except the last o... (by kkoeplin)
Vector of objects: sorting and testing elements
 
Hi, I have a vector of objects that I would like to (1) sort then (2) test in ascending order. In my snippet I have the following issues: The line "ret...
[3 replies] Last: (which is returning an error in lines 28-30) On line 4 you do decla... (by keskiverto)
sadasdsadsa
 
hgafghfagfadgeff
[12 replies] Last: @chervil thank you for all your help. Hoping to soon use modern C++ co... (by lynlyn9)
Problem with instructions from string[] to bool[][]
 
I want to use a string to change some of the values of a bool 2D array and "move" in the same array. So I have all the comands for those instructions in a fi...
[no replies]
Run alternate script
 
I was just wondering how would I make main which is going to be the entire critical system run crit_dmg #include <iostream> #include <cstdlib> #include ...
[2 replies] Last: Thank you my problem is solved its because of people like you why I lo... (by Teh Enderman)
by bjl311
Switch menu errors.
 
I put breaks in each of my cases inside the switch menu. But whenever the user inputs valid numbers it doesn't break and return to the selection menu. WHat am I...
[2 replies] Last: @OP Your question has been answered in the general C++ section. There'... (by tipaye)
finding total of array
 
I can't figure out why it is not finding the correct sum for my arrays? #include <iostream> #include <cctype> using namespace std; /***************...
[2 replies] Last: thank you so much! (by kkoeplin)
by Sam786
C++ numbers and arrays
 
I need this program to be able to read in a 3x3-element array of numbers. Have the user enter values into the array and then have the program choose one of them...
[4 replies] Last: You're already declaring your functions, at lines 10 - 14. EDIT: You... (by MikeyBoy)
by Sam786
Need this programmer to display the correct numbers and select a random number.
 
Need this program to be able display the numbers the user enters in 3 x 3 then be able to pick a random number in the 3x3 matrix. #include "stdafx.h" ...
[16 replies] Last: I'm not an algorithms expert, but a first-pass, brute force way of doi... (by MikeyBoy)
April 2016 Pages: 1... 2324252627... 43
  Archived months: [mar2016] [may2016]

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