Beginners - April 2014 (Page 62)

by Taylrl
Removing characters from a .csv file that should contain only numbers
 
Hi, I currently have a .csv file that should only contain numerical values however there are error...
[4 replies] Last: You are the OP: http://netforbeginners.about.com/od/internetlanguage/f... (by Smac89)
TXT File to Array C++
 
Hello, I recently recieved this lab for my computer science class, but I was absent the day we learn...
[7 replies] Last: @LB Never mind, I took no offense, just justifying my motives! I sugge... (by Just Me)
by axk341
wanna generate square wave
 
want to generate square wave which repeats every period. but the thing in for{} isn't repeating. plz...
[4 replies] Last: if (period <= time <= period/2) This doesn't due what you expect. ... (by Disch)
What's wrong with my code?
 
My program compiles successfully, my compiler is g++ 4.8.1 on Linux Mint 16. The compiler throws off...
[8 replies] Last: @LB Thanks, all of you! (by Just Me)
Linker Error "undefinied reference to" Encounter::enemy
 
Hey guys, Sadly I can't get along a Linker Error here. I don't even known why. I added all files ...
[4 replies] Last: .hpp is considered a header file and won't get compiled. It's meant t... (by AbstractionAnon)
File Input/Output
 
Hello, My program reads in 3 numbers from a resource file name "data2.txt" data2.txt: -------...
[3 replies] Last: yes (by Little Bobby Tables)
by cybr
task
 
Consider a quadratic expression, say x2 – x ‐2. Describing where this quadratic is positive, in...
[2 replies] Last: bool isPositive(int x) { ... } Go from there (by Smac89)
Text file and vectors
 
Hi I have a text file that has 9 columns. How do I access columns 7 and 8 and multiply these values...
[14 replies] Last: Lines 36-37 should be unnecessary. product is only changed at line 22... (by AbstractionAnon)
When to Use Inline Functions
 
I've just googled it and I find out when to use them, but I don't know what they mean: • Functi...
[6 replies] Last: nice example of where stackoverflow isn't always perfect: wrong answer... (by Cubbi)
This compiles, but I cannot get to work
 
I'm having a hard time figuring this out. Just started programming and would appreciate some help/po...
[2 replies] Last: 1. Add this at the end: return 0; } 2. what do you mean by this?... (by mutexe)
Snake Game Help
 
i have some problem in changing Direction of my snake,how to change this code,because of using cout<...
[no replies]
Logistic Map
 
Hi, I need somehelp to build a programm for logistic map. f(x)=xL(1-x) where L is fixed. I need to...
[1 reply] : What should be in the array tr ? (by keskiverto)
typeid operator...
 
//I am trying to discover the equivalent of instanceof (of JAVA) for C++ //Well, I discover that ty...
[6 replies] Last: Sorry for not responding immediately. Thank you very much! Your answer... (by closed account jvqpDjzh)
Enum and struct question
 
So I got this line in a txt file: Libra 10 - 10 - 1980 with this declaration: enum Zodiac { Aq...
[9 replies] Last: yep sorry. A collection is just a bunch of stuff, wther it be a STL ve... (by mutexe)
C++ accepting input in a character pointer using new
 
Hello, please i need help. i need to create "Title"(it is a data member of a class) which is a str...
[7 replies] Last: Unless your assignment or professor says you have to use C-style strin... (by LB)
execl function with pipe
 
How can I run the following command using execl ? echo "put <filename>" | sftp -i <private_key> <...
[no replies]
Correct Matrix not printing in Visual Studio
 
I have made a Matrix Struct in Visual Studio to use with a linear algebra operations library I am al...
[no replies]
cin.getline questions
 
So I have to write a program that will open a users file then load an array with the contents of the...
[13 replies] Last: Remember to pass pointers and to make sure the destination has enough ... (by Daleth)
I don't know why it doesn't work
 
It douesn't give any error, but I need to know why when I execute it, it doesen't order the numbers ...
[2 replies] Last: The only incorrect thing whas the return maximo that it wasen't in t... (by jonanderdiez)
seekp & seekg not pointing same value..
 
Hi.. seekg and seekp are giving different values from the below program.. Pl someone help by expl...
[2 replies] Last: Understood now.. if we use temp.clear() , then seekg also becoming loc... (by johnwesley123)
April 2014 Pages: 1... 6061626364... 67
  Archived months: [mar2014] [may2014]

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