Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
c++ x 35
c x 9
Member Avatar for Nogat21

Hello, i'm building a client-server application using sockets in C. I'm trying to send a structure through a socket, but the values after "deserialization" (the use of htonl-ntohl) come adulterated and i dont know why. Maybe you could help me? Here is the code: Server.c [code=c] #include <stdlib.h> #include <string.h> …

Member Avatar for gerard4143
0
202
Member Avatar for Nogat21

i'm with a question related to string comparing...i'm trying to compare two strings (well char pointers in fact :)), im using _stricmp for case insensitive comparison, but even with the conventional strcmp i'm not getting the result i want. [code=cpp] if(_stricmp(value,gen_arr[i])== 0){ file.seekp(-1,ios::end); file.put((i)); file.flush(); file.close(); printf("Editing of field %s …

Member Avatar for Nogat21
0
104
Member Avatar for cmsc21_scared

* Our focus here is on STRINGS since they are arrays of characters. * Write a program that reads a line of text (possibly a sentence therefore you can't use scanf() here), counts the number of words in it, and displays the words. * For our purposes, we define a …

Member Avatar for Dave Sinkula
0
286
Member Avatar for Nogat21

Hi, im trying to write some information into a mp3 file. The information i'm trying to introduce into the file must begin 128 bytes from the end of the file, and this block of information is identified by the string "TAG" at that position (128 bytes from the end). After …

Member Avatar for Nogat21
0
256
Member Avatar for Nogat21

Hey i have a problem about file copying. I have a source file opened with fstream and a destination file opened with FILE*...im trying to copy a chunk of the source file into the destination (the function receives as parameters the start second on the source file in which we …

Member Avatar for Nogat21
0
85
Member Avatar for Nogat21

I'm having a bit o a problem with inheritance. The context is this assignment i have in which we have to read from an mp3 file, extacting the informations within it as well as provide other informations not explicitly contained in it (for instance the total audio time of the …

Member Avatar for Nogat21
0
200
Member Avatar for Nogat21

Hey All, i'm doing this project in c++ consisting in reading an mp3 file and extracting the informations within it. Thing is i'm starting to be pissed by this persistent error that stops me from test the code. This error is, as far as my (limited) knowledge goes, caused by …

Member Avatar for Nogat21
0
170
Member Avatar for Nogat21

Hey, i'm in a bit of a deadline here, so i need your help. I'm trying to develop an application that, upon selection of an event and its respective "listener" (a button), fires the event name and the current time. Thing is, so i can print the event name i …

Member Avatar for sknake
0
440
Member Avatar for Nogat21