The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
net.cpp AND what on earth is vector<string>::const_ite
06-05-2006, 12:15 PM,
#1
net.cpp AND what on earth is vector<string>::const_ite
Hi,
I had a look at the net.cpp module. Is there somewhere in the source I can take a look how these functions are used to write strings to a UDP port?

Also, I am not very familiar with c++ classes, what on earth is
Code:
vector<string>::const_iterator i
and how can I translate *i to an integer? None of the standard library functions seem to work, they are all choking on the type of i "const char" I believe it was.

I added two new command line inputs, both need to be converted to integers. One is the UDP port number, the other is the frequency of writing to the UDP port.

Thanks
Reply


Messages In This Thread
net.cpp AND what on earth is vector<string>::const_ite - by nael - 06-05-2006, 12:15 PM
[No subject] - by thelusiv - 06-05-2006, 05:41 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-05-2006, 09:44 PM
[No subject] - by thelusiv - 06-06-2006, 12:36 AM
[No subject] - by nael - 06-06-2006, 09:41 AM
[No subject] - by thelusiv - 06-06-2006, 12:49 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-06-2006, 08:02 PM
[No subject] - by nael - 06-07-2006, 01:51 PM
[No subject] - by joevenzon_phpbb2_import3 - 06-07-2006, 08:52 PM
[No subject] - by matthew_i - 06-11-2006, 03:12 PM
[No subject] - by nael - 06-12-2006, 09:30 AM
[No subject] - by joevenzon_phpbb2_import3 - 06-12-2006, 08:09 PM
[No subject] - by nael - 06-13-2006, 10:59 AM
[No subject] - by thelusiv - 06-13-2006, 02:02 PM
[No subject] - by nael - 06-14-2006, 01:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)