with due all respect to all your replies ,but seems that no one actually know what im talking about im not sure is it due to the fact that my first language isnt English so there is a chance i didnt explain my question enough or you guys just like to answer any question disregarding understanding the question , so one again i will try to explain what im trying to achieve , pick any online game you know let's say wow for example a bot for wow would be a third-party program that play the game for you according to certain configuration ,how dose this program work? well i know the logic behind such a program fist you need to investigate the game find the game packet encryption protocol once you know that you will understand what every packet data for , then you start of creating algorithms to do certain action with these packets for example localizing a monster name HP etc... so what im looking for is how to know how to deal with packet on these terms ,its hard to explain the idea specially if you dont know what is a BOT program is!! i already have some source code bots for some games but i dont understand most of it this is why i need to know what should i learn before i can understand this codes anyway i think it will try to ask the same question on some other forum
yes it is way way over my current coding experience which is zero in c++ ,and yes raw packet sniffing/editing is big part of what i wanna do,i just need guide lines how to achieve that ,im willing to put time and effort ,but i just don't know what should i learn beside basic stuff , i don't wanna consume time learning things that wouldn't help me about that matter
It is true what our peers above says. You need to fully grasp the fundamentals. And sometimes programming can be tedious and drawn out. I would recommend you sign up for a class at your local school or maybe even take an evening class. Maybe a structured (classroom) environment will help you focus and keep on track.
I tried compiling the following code and I get a warning on line 5 that this statement declares a non-template function but despite this warning the code does compile. However, it does not link. The error message from the linker is:
/tmp/ccIbnsNk.o:t2.C text+0x9b): undefined reference to `operator<<(std::basic_ostream<char, std::char_traits<char=""> >&, Array<int>&)'
I feel the above code defines the function the linker says is undefined. What am I missing?
Thanks for the response. However, I added the line you suggested and it did not solve the problem. I believe the line you suggested tells the compiler that we want to specialize the implementation for the special case of int. However, I am not sure of my facts on this one.
can you help me how can i add the passenger constructor in the cpp file
this is the passenger constructor :
#include "Passenger.h"usingnamespace std;
Passenger::Passenger(string a="",string b="",long c=0)//Constructor that initializes the data members to given parameters
} //end constuctor Passenger body
but it seems i will have infinite No. of errors
when i got the last error i got another LNK2019 error with it, but i thought if i solve one of them the other will be solved also , and my thoughts was wrong
this is the other error :
1>Reservation.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > __thiscall Reservation::ID_sn(void)" (?ID_sn@Reservation@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function "public: class std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> > __thiscall Reservation::getReservationNumber(void)" (?getReservationNumber@Reservation@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
Last Visit: 31-Dec-99 18:00 Last Update: 11-Aug-22 8:38