
please wait
by aliyesami
extracting a string between two patterns
|
I have a 100 chars wide string with few '\n' characters, I want to extract the string between the first and the second '\n'. how can I do it without using str... |
Jan 25, 2016 at 9:33am
[2 replies] Last: strchr is what you need. http://www.cplusplus.com/reference/cstring/s... (by Thomas1965)
|
by Tibar
Indirect string identification
|
I want to use indirect string id in C++. As an example, I have a number of AnsiStrings, say : A1="knife"; B2="Poison"; C5="Rope"; etc and a string with the n... |
Jan 25, 2016 at 8:26am
[5 replies] Last: The content of some of the strings is dynamic, i.e. B2 could be "Pois... (by TheIdeasMan)
|
by LsDefect
Invalid shell commands and _popen()
|
FILE* pipe = _popen(command.c_str(), "r"); while(fgets(data, 1024, pipe)) g_Client.Send(data); _pclose(pipe); So above executes shell commands,... |
Jan 25, 2016 at 5:16am
[2 replies] Last: Much obliged man. Curious operand along with that first parameter, pag... (by LsDefect)
|
by Indianna32
Time keeper...Help
|
Hello. I already wrote a working program checking to see if a number is prime through primal testing. Now I am tasked with adding a clock to tell how long diff... |
Jan 25, 2016 at 3:40am
[4 replies] Last: How to use code tags: http://www.cplusplus.com/articles/jEywvCM9/ (by JLBorges)
|
by cboehm7338
Errors with '{' ';' ')' signs
|
so I am trying to write a code to print to screen a diagonal line using MACROs and keep getting errors with the signs listed above. can anyone help figure out... |
Jan 25, 2016 at 3:19am
[3 replies] Last: The error is a good one, use the scanf_s function like it says :+) ... (by TheIdeasMan)
|
by ep7network
How can I continue the process and print out their process ids?
|
So far my program is working, but I need my program to continue with 9 more processes indicating process 2 is the parent of process 3 and process 3 is the paren... |
Jan 24, 2016 at 11:06pm
[1 reply] : Don't double post, it's waste of everybodys time - http://www.cplusplu... (by TarikNeaj)
|
by demoylan
Password Cracker Issue
|
This is a recreational project perfectly within the conatraints of the law. With that out of the way, I have an issue with comparing the correct password to ... |
Jan 24, 2016 at 8:19pm
[6 replies] Last: On an issue related to the OP's code, but not the problem he sought to... (by cire)
|
Function Pointer Help |
Hi, I'm trying to reference a function using a function pointer. Any help is appreciated. The problem might be simple but I'm not seeing it. http://pastebin.... |
Jan 24, 2016 at 3:15pm
[4 replies] Last: That seems like a very misleading error message, which makes me think ... (by cire)
|
by HLGgaming
Any FABRIK implementation advice/code?
|
So I've been given the task of implementing a forward and backward reaching inverse kinematics algorithm onto just a simple set of connected shapes. So far its ... |
Jan 24, 2016 at 3:13pm
[no replies]
|
by dala
Programming projects
|
I need a help with my Programming projects can anyone help me please? |
Jan 24, 2016 at 11:57am
[2 replies] Last: don't worry, i can give u a project designed by me....look's cool...it... (by sushil9469)
|
by Kubani
How to be a programmer of many programming languages
|
Hi guys, It is 2 or 3 years that I'm dealing with C++. I have heard that almost about 10 years hard work is needed to be a real C++ programmer, an expert. Ap... |
Jan 24, 2016 at 7:46am
[4 replies] Last: Thanks guys. (by Kubani)
|
by Wu zhen hai
How to get private member pointer?
|
class A { private: std::string a1_str_; std::string a2_str_; }; Although the following code is illeagal, but I want to use it to ill... |
Jan 24, 2016 at 3:46am
[3 replies] Last: #include <iostream> #include <string> #include <iomanip> class A { ... (by JLBorges)
|
by technologist
passing variable through std::array function prototype
|
How do I program the function prototype to have a variable element size so I can pass arrays of different sizes through the function? void fx_sort_array(a... |
Jan 24, 2016 at 1:02am
[8 replies] Last: Yes, it is a serious question. I think its quite possible the question... (by technologist)
|
by Ahmed Khalid
My First Program
|
#include <iostream> using namespace std; void main() int key = 1; do { int from; int to; double value; cout << "Temperature converter" << endl <<... |
Jan 24, 2016 at 12:26am
[3 replies] Last: @Ahmed Khalid if you'd rather not get posts like the above ^, you shou... (by guatemala007)
|
Program runs up to the last function then gives a terminate message |
My last function is not working. This function appends a literal string to a C string. It checks if there is enough space in the C string to append the literal ... |
Jan 24, 2016 at 12:04am
[1 reply] : char* s3 s3 is a pointer. You should pass another parameter to check... (by AcarX)
|
by demoylan
C++ Library Download ?
|
Hi. I'm new to this community, if you don't recognize me. I just quit using Visual Studio because it is cumbersome and it had an error with not compiling a solu... |
Jan 23, 2016 at 8:48pm
[8 replies] Last: Actually, Visual Studio is working again :). Thanks for all the help.... (by demoylan)
|
LinkedList Help needed |
Hi everyone, I am new to this forum. I am normally clueless in programming but I got through the classes somehow just knowing the theory. I can't exactly progra... |
Jan 23, 2016 at 8:28pm
[4 replies] Last: Thank you, I will try to understand what you mean and I will try to le... (by tomandjerry7861)
|
Program is running but cannot open text file |
Hi coders. I am writing a college project. The program is compiling fine but it wont create an fstream object to take input and enter to "Land_registration.txt"... |
Jan 23, 2016 at 7:26pm
[7 replies] Last: Wooow ! Thanx Thomas ! That was wonderful indeed. There has been powe... (by Mwangi Elijah)
|
by erriya95
How to initialise structures in this code
|
if parentCell.type==CSC: r = uniform(0,1); if(r<ALPHA): childCell.type=CSC else: ... |
Jan 23, 2016 at 4:57pm
[1 reply] : Pls I request you to give me the source code for this.Its urgent. Pls... (by TarikNeaj)
|
by mike9407
data abstraction[update and clarification]
|
i know there is some generic topic about the data abstraction in this forum,as i find out you guys just said data abstraction is the function interface that hid... |
Jan 23, 2016 at 2:00pm
[1 reply] : reply anyone? (by mike9407)
|