I had a look at the MSDN example of u_short ntohs(...etc), but i dont see how i can use that in my situation. I reckon im being dense.
printf(" type length is %x\n", ethernet.typelength);
i...
Type: Posts; User: Andystudent
I had a look at the MSDN example of u_short ntohs(...etc), but i dont see how i can use that in my situation. I reckon im being dense.
printf(" type length is %x\n", ethernet.typelength);
i...
How can i use these functions to convert nertwork data to host data? (im sure that was poorly worded but im fairly new to this). I have a captured ICMP packet and have read from the file into a...
Thought id add some more, as a clearer example:
typedef struct ip
{
unsigned int ver:4;
} packet;
Hey all, hope everyone is well. Happy new year...etc...
Down to the serious stuff. I am writing a program to read a binary file into a structure and interperet it. The file is a captured ICMP...
I have an error message when i compile that i dont understand, and was hoping someone could tell me what it generally means:
"statement cannot resolve address of overloaded function"
the...
Oh i see. I didnt call it earlier but i still had the same problem so i will change that.
But i need main to call first() every time a sub program finishes. Can i do that with my loop?
Cheers...
here is my code
#include <iostream.h>
#include <fstream.h>
#include <stdio.h>
#include <conio.h>
#include <string.h>
Hello again, i am making a switch menu system and was wondering how i can monitor for the user to press a specific key and then open the case 'key' :{} section without the user having to press enter....
Your a gem mate - prob solved!
Cheers!
Andy
i dont know what the code tags are
call the function from:
void books::first(void) {
cout<<"***********************************************************\n";
cout<<"***********************************************************\n";...
cheers.
I tried doing that but it came up with a parse error in books::first(), and i cant see how.
Is that the only way to do it?
Hi all, hope you are well.
There was another thread asking this question along with another, but this question was never answered. Here is my code - incomplete - hopefully i can explain my...
Right, i sorted my parse error with some much appreciated help, so cheers. I have another problem.
do{
printf("welcome to the Tee, Pi, Min loss pad resistor calculation program");
...
Blindin!
Could you believe I have been sitting at my comp contracting DVT scratching my head for 3 days and all that was missing was one curly bracket!??
Cheers m8 you're a god amoung men!!
...
This probably isnt a very good question but i am stumped. When i try to build my code i get the message
"parse error at the end of input."
It gives a line number 3 lines after the end of my...