please let me know that in unix using c programming language we can do binary to string conversion and vice versa using ltoa and atol but how can we do it in c++ programming language.
thank you in advance. (3 Replies)
Hi,
I have two Solaris machines.
1. SunOS X 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Blade-1500
2. SunOS Y 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60
I am trying to buiild a project on both these machines. The Binary output file compiled on machine 2 runs on both the machines. Where... (0 Replies)
Hi all,
I have a binary file (orig.dat) and two special delimiter strings 'AAA' and 'BBB'. My binary file's content is as follow:
<Data1.1>AAA<Data1.2>BBB
<Data2.1>AAA<Data2.2>BBB
...
<DataN.1>AAA<DataN.2>BBB
DataX.Y might have any length, and contains any kind of special/printable... (1 Reply)
Hi,
I have a problem that I am sure someone will know the answer to. Currently I have a script which returns a binary output if it finds a certain search string (in this case relating to a DRBD cluster) as follows:
searchstring="cs:Connected st:Primary/Secondary ds:UpToDate/UpToDate"
&& echo... (3 Replies)
Hi All,
Iam new to unix scripting and I want a split a string into 4 characters each, leaving the last two characters and convert the splitted values into binary.
For example:
string='ffd80012ffe20000ffebfffeffea0007fff0ffd70014fff1fff0fff0fff201'
this should split as
ffd8
0012
ffe2
.
.... (5 Replies)
I am struck up with a problem and that is with output redirection.
I used all the ways for the redirection of the output of c binary to a file, still it is failing.
Here are the different ways which I have used:
./a.out | tee -a /root/tmp.txt 2>&1
./a.out | tee -a /root/tmp.txt 1>&1
./a.out |... (2 Replies)
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Hi,
I am not a C programmer. The only C exposure I have is reading and completing the exercises from the C (ANSI C ) Programming Language book:o
At the moment, I am using the UNIX strings command to extract information for a binary file and grepping for a particular string and the value... (3 Replies)
Discussion started by: newbie_01
3 Replies
LEARN ABOUT DEBIAN
teeworlds
Teeworlds(6)Teeworlds(6)NAME
teeworlds - Teeworlds Client
SYNOPSIS
teeworlds ["option value"]...
DESCRIPTION
This manual page documents briefly the teeworlds command.
teeworlds is the Teeworlds client. It is an online multi-player platform 2D shooter.
OPTIONS
(Note that this is not a full list!)
bind key command [value]
exec configfile
connect server:port
player_name <string>
password <string>
logfile <string>
cl_cpu_throttle <binary>
cl_editor <binary>
b_filter_string <string>
b_filter_full <binary>
b_filter_empty <binary>
b_filter_pw <binary>
b_filter_ping <binary>
b_filter_gametype <integer>
b_filter_compatversion <binary>
b_sort <integer>
b_sort_order <binary>
b_max_requests <integer>
snd_rate <integer>
snd_enable <binary>
snd_volume <integer>
snd_noactive_mute <binary>
gfx_screen_width <integer>
gfx_screen_height <integer>
gfx_fullscreen <binary>
gfx_color_depth <integer>
gfx_clear <binary>
gfx_vsync <binary>
gfx_display_all_modes <binary>
gfx_texture_compression <binary>
gfx_high_detail <binary>
gfx_texture_quality <binary>
gfx_fsaa_samples <integer>
gfx_refresh_rate <integer>
gfx_debug_resizable <binary>
inp_mousesens <integer>
debug <binary>
cl_predict <binary>
cl_nameplates <binary>
cl_nameplates_always <binary>
cl_autoswitch_weapons <binary>
cl_showfps <binary>
cl_airjumpindicator <binary>
cl_threadsoundloading <binary>
cl_warning_tuning <binary>
cl_mouse_deadzone <integer>
cl_mouse_followfactor <integer>
cl_mouse_max_distance <integer>
cl_motd_time <integer>
ed_showkeys <binary>
cl_flow <binary>
cl_show_welcome <binary>
player_user_custom_color <binary>
player_color_body <integer>
player_color_feet <integer>
player_skin <integer>
dbg_tuning <binary>
ui_page <integer>
ui_server_addess <string>
ui_scale <integer>
ui_color_hue <integer>
ui_color_sat <integer>
ui_color_lht <integer>
ui_color_alpha <integer>
SEE ALSO teeworlds-server(6)AUTHOR
Teeworlds was written by Magnus Auvinen.
This manual page was written by Jack "jscinoz" Coulter <jscinoz@gmail.com> for the Debian project (but may be used by others). Permission
is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version
published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
April 14 , 2008 Teeworlds(6)