Beginners - April 2014 (Page 50)

Please help with finding size of array from CSV file (unknown # of rows and columns)
 
Hello, I have a CSV file with a large array of data and would like find the number of rows and columns that data has. In my code now the dimensions max_colum...
[7 replies] Last: Thank you once again Abstraction, you are a life saver. I'm going to s... (by Ryan542)
by darqan
Visual Studio help.
 
Hi guys! I started like 6 month ago, did it for a month (finished the class) and after I finished it, I stopped programing until now. Now it's part two and my ...
[4 replies] Last: Thanks alot! I've been searching all over internet and didn't find it... (by darqan)
by kier
Design and implement the class Day that implements the day ofthe week in a program.
 
Write your question here. Design and implement the class Day that implements the day ofthe week in a program. The class Day should store the day,such as Sun ...
[1 reply] : Dude, this is not a java forum. (by mutexe)
by ndat
Quick help
 
My assignment is: Unordered with header and trailer nodes This is what I have: #include <iostream> #include "unorderedLinkedList.h" using namespace std; ...
[3 replies] Last: I don't see anything suitable for a switch statement in your most rece... (by AbstractionAnon)
by JetM4
Phone call cost.
 
First of all sorry if I should've posted my question in another topic. I started C and C++ lessons a couple of weeks ago, and I have this problem to solve. Her...
[2 replies] Last: Yeah, that was the correct solution, thank you a lot. (by JetM4)
by tafnam
Problem with switch statements
 
Hi,i'm relatively new to programming and decided to try writing a small text adventure thing to test out switch statements. However when i reach an ending such ...
[7 replies] Last: oh yes, oops there's another few switch statements in there.. how did ... (by Codermik)
for loop crashes my program. Don't know why
 
So my program compiles and runs. In trying to fix a bug I caused my program to crash. Below is first the "buggy" code and below it is the code that crashes the...
[1 reply] : Check that your not running past the last index of your array. Remem... (by Codermik)
generating random number
 
Hi.. I need to generate a 5 digit random number on unix env., i have tried with rand() but it is giving same value for each time i run my binary. i tried with s...
[5 replies] Last: OK Thanks.. let me try (by raju8438)
Int - Float not casting correctly
 
I made this code to explain a about pointers for a Youtube tutorial and came upon some interesting results that I needed help explaining myself... Why when cas...
[4 replies] Last: Well I expect that reinterpret cast should be what I expected in the f... (by TheBeardedQuack)
linked list ADT
 
What is ADT and How abstraction is implemented? Please explain with some example. What is linked list ADT? Thanks if you respond :D
[4 replies] Last: Google is you friend Most definitely in this case. OP, just learn w... (by mutexe)
Formatting using ostringstream
 
I am not sure how to get the "****" to always line up at the end of the error messages. These error messages occur when the user enters an invalid number out of...
[2 replies] Last: Wow, that worked great! thank you very much. I dont think I would have... (by sagareturns1)
Target speed
 
Hello everyone. I am having trouble figuring out what the equation is to find the speed of a target. I am working with sf::Vector2f to find the arrival functi...
[1 reply] : I just need the equation for target speed and target velocity. Are yo... (by coder777)
read file and put it into array
 
hello everyone! i want to ask how can I sort whose data with ' ' and "\n" .Then put them into array[1-5] for further implement. let me explain more, like array ...
[1 reply] : #include <fstream> #include <iostream> #include <sstream> #include <s... (by MiiNiPaa)
program has stopped working
 
Can you show me why this program "has stopped working"? please give me any idea about it #include<stdio.h> #include<conio.h> #include<string.h> char tu ,...
[2 replies] Last: It might be related to ton of warnings your program generates: In fun... (by MiiNiPaa)
by Elize
Multiple classes need to include each other.
 
I'm trying to distill what I want to do into a simple example, because I tried to write up the whole thing a couple times and it wound up way too convoluted to ...
[4 replies] Last: Awesome! I never tried that and it worked. Thanks! (by Elize)
by hdn
Delete Array Problem
 
I have problem with freeing the memory from the un-using data, please help me! thank you :)) void main() { int Data = {0 ,1, 1, 0, 0, 0,0 ,0 ,0 ,1 ,1...
[3 replies] Last: Ideally, use a vector. #include <vector> #include <iostream> templa... (by cire)
Need help finding error in C++ 11 code
 
I am doing a refresh in C++ after being out of it for 3.5 years. I am using Microsoft Visual Studio Express 2013. The practice project that I am working on i...
[1 reply] : After looking over the example in both my book and the example files ... (by cire)
Can't get past the second token in a String Tokenizer function
 
So I have to write a function to get tokens (separated by spaces " ") from a string line. I get the first token just fine, and can get the second one as well, b...
[1 reply] : I tweaked it a bit and now this tokenizes the first two words without ... (by motez23)
ERROR MESSAGE ON PDB FILE
 
Write your question here. What does the error message "Cannot find or open the PDB file" mean? What is a PDB file? I am too embarrassed to put up my simple c...
[3 replies] Last: AbstractionAnon, Thank you for your response and the link. I have a ... (by phztfte1)
Average of 2 Exams and Letter Grade for 3 Students
 
I am trying to get the average for 2 exams that will give me a letter grade for 3 students. #include<iostream> #include<iomanip> #include<cmath> #include<...
[no replies]
April 2014 Pages: 1... 4849505152... 67
  Archived months: [mar2014] [may2014]

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