12 Topics

Member Avatar for
Member Avatar for harde_1

Im trying to add Total function and isMono functions to this code. Did total already Need help with function ismono which returns whether a tree is mono (all the elements are unique aka no element appears more than one time) or not. Please this is the original program #ifndef T_H …

Member Avatar for deceptikon
0
306
Member Avatar for harde_1

Hi, I need a function that will take a tree as argument and return the number of ints that were typed and a correct call. would it just be preorder? like below. Please. Thanks #include "t.h" void preorder(tnode * t){ if (t == NULL) return; cout << t->info <<endl; preorder(t->left); …

Member Avatar for harde_1
0
439
Member Avatar for nyuszi

Hello, i want a program which convert Dec,Char,String to Bin. but i got stucked in Char because i want to do 8 bit long list and if its not 8 long i put zeros in the front but something always wrong. import Data.Char (ord) toBinary :: Int -> [Int] toBinary …

0
114
Member Avatar for Vega_Knight
Member Avatar for Jx_Man
0
384
Member Avatar for razamughal67

Hello everybody i want to get recycle bin all files and folders in a list box using visual basic 6.0 please help me to solve this problem

Member Avatar for Jx_Man
0
372
Member Avatar for arick1234

I have an array [x,y] where the values of x is ascending and the y values are random. I would like to sum all of the y values together when the x values are within a certain range. I can't show you any code as i dont even know where …

Member Avatar for Gribouillis
0
2K
Member Avatar for D33wakar

I'm trying to convert hexadecimal values to Binary. I've done Decimal values to Binary up to 32 bits in this way: [CODE] #include <stdio.h> int showbits(int);/**************function*prototype******************************/ int main() { unsigned int num; printf("enter the number."); scanf("%d",&num); printf("%d in binary is ",num); printf("\n"); showbits(num);/*********************function*call********************************/ return 0; } showbits (int n)/******************function*definition****************************/ //* …

Member Avatar for D33wakar
0
398
Member Avatar for Naruse
Member Avatar for smith.mitchell7
0
181
Member Avatar for kchyn

Hi, I'm programming something for a micro-controller and I need a compiler that can turn c++ into .bin Anybody have any idea where to get one?

Member Avatar for ziggystarman
0
355
Member Avatar for tcl76

hi, i have a script that converts hex to bin and bin to hex back. however, when converting back to hex the leading 0s are truncated. how to maintain the leading 0s? i'm using Python 2.5 and Win XP. tq [CODE] import binascii import string def byte_to_binary(n): return ''.join(str((n & …

Member Avatar for TrustyTony
0
3K
Member Avatar for paolodinhqd

hi guys, i have problem loading my dll from '\bin' if i put my lib in '\bin', it works fine (meaning "\bin\mylib.dll") but if in a subdir, it fails to function normally (meaning "\bin\subdir\mylib.dll") pls hellp.....

Member Avatar for kvprajapati
0
125
Member Avatar for waleed.makarem

Dear All , I have a device with upon serial communication , it send the data as HEX values , (eg, C020042ABD0F91A103E400F929EBC) . I use the following code to get data from the serial port. [code] Dim fStream As New FileStream(sFileName, FileMode.CreateNew) ' creates new file Dim bw As New …

Member Avatar for Unhnd_Exception
0
1K

The End.