
please wait
by WakeofMisery
Linear Search
|
#include <iostream> using namespace std; int search() { int i, num; int a = {12, 18, 95, 3, 16, 1, 16, 25, 30, 45, 19, 89, 99, 32}; cin >> num; f... |
Jan 31, 2016 at 11:52pm
[5 replies] Last: Got it! Thanks guys! It's an assignment due tonight for my Data Struct... (by WakeofMisery)
|
by aliyesami
string parsing issue (1,2)
|
I have following null terminated char array which I want to parse as follows: look for the first '\n' and then look for the '^' after this pack the ascii chars ... |
Jan 31, 2016 at 9:23pm
[35 replies] Last: thanks a lot Chervil everything is working fine now. I learned a lot f... (by aliyesami)
|
by mike9407
Function
|
Function that generate a pointer type like node<itemtype>*getNext() what is this actually ?i having confusion |
Jan 31, 2016 at 4:17pm
[4 replies] Last: Yes. (by dhayden)
|
by itsmrlhkm
Reading data from .txt file
|
I am supposed to do a program that reads the data from the notepad. the inside of the notepad is something like this 2012-01-01 Rain 7 13 0.28 2012-01-02 Sc... |
Jan 31, 2016 at 3:25pm
[5 replies] Last: Please edit your post and add code tags. I know how to make a code ... (by jlb)
|
by linkcraig
I/O advice request
|
Hello everybody, I'm working on a program that reads from a file a sequence of numbers and push them into a stack. I give the file name that containn the numbe... |
Jan 31, 2016 at 2:23pm
[5 replies] Last: Thanks again, but it gives me this error: You must be using an older... (by cire)
|
by Won
Lottery number checker
|
Hi! I would like to write a program that can check whether my tipps are winning or not. There's a file containing the winning numbers and another with my tipp... |
Jan 31, 2016 at 1:43pm
[1 reply] : Could you post your code, or at least a small extract of the code that... (by Shadowwolf)
|
THIS CODE WONT READ TEXT DATA TO 2D VECTOR. HELP TO EDIT |
I created a text file using a 2D string vector. It contains data arranged as here below. I want to read the whole text file. LR UNIT NUMBER: RTI3866996... |
Jan 31, 2016 at 1:31pm
[6 replies] Last: TheIdeasMan, then to receive user input one would implement the vecto... (by Mwangi Elijah)
|
by gaurav97
How to make admno unique in prog. with FILES ? Code is here below.
|
#include <iostream> #include<string.h> #include<fstream> #include<conio.h> #include<iomanip> using namespace std; class student{ char admno ; char name... |
Jan 31, 2016 at 10:09am
[1 reply] : One way would be to keep all the students in a vector. Before you add ... (by Thomas1965)
|
by casescs
Products Inventory
|
The output of the quantity in my updated inventory is wrong. Here's the code: #include<stdio.h> #include<conio.h> struct product{ int Q; char C ,... |
Jan 31, 2016 at 7:10am
[1 reply] : Sample Run: How many products: 3 Product Code: PN Product Name: Pen... (by casescs)
|
by JUAN DENT
lambda with auto&&?
|
Hi, I found this code in a book: auto funcInvocation = (auto&& func, auto&&...params) { std::forward<decltype(func)>(func) (std::forward<... |
Jan 31, 2016 at 5:43am
[3 replies] Last: > the value of func is probably the address of the function to be call... (by JLBorges)
|
by Dragonov
Vertical Bar Graph
|
I have an upcoming lab assignment that I am trying to get an early start on, but I am having trouble finding help on the Internet. Basically, the assignment is ... |
Jan 31, 2016 at 4:56am
[3 replies] Last: I tried, but this site has been giving me problems. I kept using the c... (by Dragonov)
|
by neljunior000
Using file stream
|
Hi all, I wrote this little piece of code in order to read the content of a text file. I expected to see the variable "test" equal to the whole first line of ... |
Jan 31, 2016 at 12:33am
[4 replies] Last: Here is the code I am using now. After line 9 I still have the console... (by neljunior000)
|
by hunnakram
Need help with display
|
Hi i am having trouble figuring out why it doesn't show my display when I run my program can somebody point me in the right direction of what I'm doing wrong? ... |
Jan 30, 2016 at 9:15pm
[3 replies] Last: In the function float getActualLiving() the closing curly brace is mis... (by Thomas1965)
|
by JUAN DENT
Different destruction depending on how shared_ptr is created
|
Hi, I have the following: struct Widget { ~Widget() { cout << "~Widget: " << this << endl; } void operator delete(void*p) { cout << "... |
Jan 30, 2016 at 7:20pm
[2 replies] Last: got it, thanks!! (by JUAN DENT)
|
by moonman239
Return thread_local to main thread
|
I'm creating a coin-toss program where multiple coins are flipped using separate threads (one coin per thread) and the results are printed by the main thread. B... |
Jan 30, 2016 at 6:54pm
[5 replies] Last: > if he wants to run this in several different threads then how can h... (by JLBorges)
|
by shadowlight
Need help
|
hello guys , ive been trying for quite long so please if anyone can help i really need it here's the question : Create a class called Date that includes... |
Jan 30, 2016 at 6:53pm
[1 reply] : I would do it like this: #include <iostream> using namespace std; c... (by Thomas1965)
|
by Ashesh3
Receive Only Http Response Body
|
I have the following code which works perfectly to fetch a url for me: #include <winsock2.h> #include <windows.h> #include <iostream> #include <string> //#pr... |
Jan 30, 2016 at 5:59pm
[no replies]
|
by souvik
controlling power output from pc
|
Hello buddies..i want to learn and attain knowledge about that is there any way so that we can control the power output from the pc??...literally saying that is... |
Jan 30, 2016 at 5:32pm
[no replies]
|
by gaurav97
Having problem in program with FILES. Pls reply ASAP.
|
#include <iostream> #include<string.h> #include<fstream> #include<conio.h> using namespace std; class student{ char admno ; char name ; char stbno ; ... |
Jan 30, 2016 at 4:48pm
[9 replies] Last: Post your current code. (by jlb)
|
by Frooster
Mouse Program,Error
|
The output is disjoint...i dunno why? plz comment #include <iostream.h> #include <graphics.h> #include <dos.h> union REGS in,out; void showMouse()... |
Jan 30, 2016 at 3:54pm
[5 replies] Last: moschops and chervil ty (by Frooster)
|