No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi folks, Can someone tell me what is the meaning of this line? and how to use this command properly? [CODE] Lock::~Lock() { DEBUG('t', "Deleting lock \"%s\"\n", name); [/CODE] Thanks | |
Hi guys, When I run this code, I got segmentation fault and i can't figure out where the mistake is? I'd really appreciate any help. thanks [code] #include <fstream> #include <iostream> #include <string> #include <sstream> using namespace std; int main () { ifstream file, dest; file.open ("arp.txt"); if (!file) { … | |
Hi guys, I'm doing a program that reads from two files and write to 16 files. The idea of the program is to rout packets across a network that contains 16 nodes. I still working in the routing mechanism but I just wrote the codes for the source node and … | |
Hi guys, I am doing a TCP/IP time server/client. I already wrote the two programs but when I run them I don't get any output. Simply, the idea is the client asks the server for Time or Date and the server has to respond and terminate after the second request. … | |
Re:
OK, here's my sample code. The problem is indicated with [PROBLEM] at the starting of the code line. I'm getting a compilation error saying that: 706 C:\Users\user\Desktop\Project.cpp `reg_num' has not been declared 706 C:\Users\user\Desktop\Project.cpp request for member of non-aggregate type before ',' token and its saying this for all my … | |
Hi guys, I'm writing a program that can read the date and the time separately. The only function I knew is ctime but it reads both of them, so is there any functions that can reed the date as: month day, year and time as: hour::minute::second Thanks! | |
Hi everyone, I'm reading two values from my text file after that I have to find all the possible points in this row*column data. I wrote this code but I got an infinite loop as a result instead of getting N1=(1,1), N2(1,2) till the the last column which is n, … | |
Hi guys, I'm new to C++ and I'm doing a small project, I got a little problem with reading a specific number from a text file. for example: size 2 3 I want my program to read the 2 to a and the 3 to b. Also I want the … |