I think it would fall into the piratical joke section.
Type: Posts; User: userxbw
I think it would fall into the piratical joke section.
whatever.... never said I knew everything, that was your ill guided mind thinking
technicalities, cheep shot.
..
yep
yeah just a bunch of "raw data" and text. I thought I was doing something wrong until I cat the file. Normally one could do something like this.but WE have no real idea of the format in the file
...
from that other program I used it is not a valid tcpdump file, and still if binary one still needs to know what order to get the information. Yes/?/
Linux tcp dump file.
$ sudo tcpdump -c 3 -w dumpTCP -i wlan0
tcpdump: listening on wlan0, link-type EN10MB (Ethernet), capture size 262144 bytes
3 packets captured
272 packets received by...
I have no idea how it works under the hood. I only know it is now acting like a 1d array because one no longer has to reference both whatever them [ ] <<--- are called.
#include <iostream>...
appearances can be deceiving. :D :D
you need to know what you're looking for in the order you're looking for it so you can scan it in the same order using the proper data types to get it.
or using delimiter strtok to find key words...
yeah < > I had to switch gears,
#include <iostream>
#include <vector>
using namespace std;
int main()
{
...........
yeah, and I am getting major warnings for your pointers , and what is the k++ for???
just take out the rewind, I was fiddling with it and forgot that one.
I do not know what your dumpfile looks like inside of it but make this chagnce to see what you're getting. you where trying to print out str when it has nothing in it.
printf("\nftell: %d\n",...
printing out a 2d char array, In C++ it just wacks the hell out of it, and comes up with its own abbreviations for what is in the array, and in C it chops off part of the last word in the first...
to get rid of the zero array? you mean the element? just do not use it. start with 1 instead.
{keyboard broke, no w got a vv instead?)
first think of what information you need for a store to...
.....
I;ve always an into issues using direct assignment of a char array. let e go check that over and give it a try, ( again) scanf is not one of my favorite functions. before time runs out to fix it in...
#include <stdio.h>
#include <stdlib.h>
/*
* 1. Declare a structure which contains minimum two elements
* 2. in main function declair a local variable of the structure
* 3. read in the...
it does not really have anything to do with code blocks, code blocks is just a platform to write your code in and it gives you a button to "push" to make compiling your code a little easier. You just...
Take a good hard look at how fscanf is being used without the 'file' included in it.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
struct storagemanipulation
{
char...
you know that really takes the fun out of hacking, and mods to the game. Look at doom and its other games. you could even set it up for long term to write another package one needs so they can hack...
C Language Keywords
that is what is called pseudo code. Used to give the other an idea of what is to be written for a loop in this case to work, what you make the do something be is entirely up to the programmer.
...
if you take a good look at this you may see what LaserLight is speaking about in the usage of fscanf it has a specif set of rules that the format of the function in the parameters of the function for...
spoon feeding, hum, that was spoon feeding, it is not always wrong to just give someone the answer, I've seen others in here doing it including you. That too is a form of learning. just showing...
I found this, it might help, I have not read it.
Multiple consoles for a single application - CodeProject