decode « Development « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » Development » decode 

1. How do I base64 encode (decode) in C?    stackoverflow.com

I have binary data in an unsigned char variable. I need to convert them to PEM base64 in c. I looked in openssl library but i could not find any function. Does any body ...

2. Decoding a JPEG Huffman block (table)    stackoverflow.com

The following block is nested by Huffman block markers

-HUFF---------------------------------------------------------------------0084-
  10    0    1    2    4    3 ...

3. How do make dependency generation work for C? (Also..decode this sed/make statement!)    stackoverflow.com

I have a make build system that I am trying to decipher that someone else wrote. I am getting an error when I run it on a redhat system, but not ...

4. Decode PEM (c#)    stackoverflow.com

I've picked up some old code that I need to work with and I have the following function in C

int pem64_decode_bytes(const char *intext,
         ...

5. How to decode base64 in C?    stackoverflow.com

Possible Duplicate:
How do I base64 encode (decode) in C?
Hello All, Is there any way i can only decode the base64 string in C ? Thanks, Neel

6. JSON Serialization in C    stackoverflow.com

What is the best way to generate UTF-8 JSON in C? I've looked at Jansson, but it seems extremely bulky. Is there any other good low-dependency library for creating ...

7. Speex voice chat: EXC_BAD_ACCESS crash when trying to decode    stackoverflow.com

I'm developing a voice chat and I used speex to compress the data that is being transmitted. But I encountered a crash when I try to decode the received data. I compress the ...

8. base64 decode help needed    bytes.com

Spiros Bousbouras re: base64 decode help needed On 21 May, 18:22, d-fan /* Read Base64 encoded data from standard input and write the decoded data to standard output: */ > BIO *b64, *bio ; long i ; char buffer[512] ; memset(buffer, 0, 512) ; > b64 ...

9. Huffman Code Decoding Problem    bytes.com

that works fine, but now i want to decode it, but I don't know how to. here's what I want to do in psuedo code. look at huffman code take first number while(there is still more huffman code to examine){ (if value were looking at in the huffman code == any of the huffman letter codes){ add the letter to a ...

10. Encode-Decode Sting    bytes.com

I'm not sure if there's a built-in function, but you can write a simple function yourself. Since you know that a character is stored as an integer value between 0 and 255 (unsigned - signed would be -128 to 127), you can add a number to each character value and re-cast it to a character. This would create a string of ...

11. serial data decoding    bytes.com

Please help! I have a string of data as the result of serial to parallel hardware conversion. I need to decode this string into correct bytes. The start of a byte position is unknown. In this particular case, part of my data is as follows. Serial data string: (not rs232, straight serial data) 01001010010010010101001001001001010100100010010001 001010 This was read through a shift ...

12. Decoding Base64    bytes.com

Hello. i am trying to decode a block of (what i think is) base64 into text, and i have NO idea how to begin. I'm going to paste the whole string here, but i want to know the steps necessary to convert it to text. i've tried the usual binary/ascii techniques, but they just seem to loop back in to each ...

13. Efficient URL-decoding.    bytes.com

Hello group, The following code is an attempt to perform URL-decoding of URL-encoded string. Note that std::istringstream is used within the switch, within the loop. Three main issues have been raised about the code; 1. If characters after '%' do not represent hexademical number, then uninitialized value variable 'hexint' used - this is undefined behavior. 2. This code is very inefficient ...

14. Jpg EXIF decoding and Jpg barcode reading    cboard.cprogramming.com

> I have extensively downloaded examples from code project and researched exim.org but lack the skills to understand. Really.... Strange that you didn't actually post any code to demonstrate what you did learn. > If you don't want to help that's fine but don't use your post to discourage others. If 1 reply discourages you, then software development isn't for you. ...

15. decode isbn help    cboard.cprogramming.com

Hi guys I am trying to decode an isbn. My function looks like this:int decode (FILE* fp, const char str[], char area[], char publisher[], char title[]); This function gets a file pointer that contains a prefix table, a 10 digit isbn in str and area[], publisher[] and title[] are empty but if this function is successful it will break the isbn ...

16. Decoding    cboard.cprogramming.com

Hi Guys, Working on an encoding and decoding example and have the encoding working fine. Its the decoding that is proving to be a challenge... Essentially, I am encoding characters like: ttttrrrrruuuuhhhyyiii to give output like 4t5r4u3h2y3i and thats fine, its just when i want to decode something like: 2t3y2r to ttyyyrr is where i have diffculties I have tried a ...

17. help me to decode this code    cboard.cprogramming.com

The code is: Code: #include void connect(); void disconnect(); void print(); void query(); int countries[100][100]; int main () { char choice; printf("***MAIN MENU***\n"); printf("(C) Connect two countries\n"); printf("(D) Disconnect two countries\n"); printf("(P) Print all connections between countries\n"); printf("(Q) Query all connecting countries\n"); printf("(X) Exit the program\n"); printf("---\n"); printf("Please enter the first letter of your choice, then hit Return\n"); scanf("%c", &choice); ...

18. frustration on URL encode-decode    cboard.cprogramming.com

frustration on URL encode-decode I'm working on this program to take a person's name, address, and phone number and convert it URL coding print it, then unencode it then print it again normally, with labels over each part. I've run into a couple problems. 1. I think I'm overcomplicating it first of all. 2. I want to capture the input but ...

19. Decoding st_mode    cboard.cprogramming.com

20. decode data and screen refresh    cboard.cprogramming.com

Hello, first of all, sorry for my english, I hope you will understand me. I'm a beginner in c programming, which can explain the level of my questions. A telegram (constituted of letters, numbers and symbols sequence) arrives periodically (incoming data frequency faster or not than the processor's one). The aim is to decode it and establish a classification. For doing ...

21. Decoding    cboard.cprogramming.com

22. decoding tones from a phone    cboard.cprogramming.com

23. Iterative decoding    forums.devshed.com

Need help writing a c program to read the parity check matrix into an array.The parity check matrix is stores in a sparse format to save space. It is in the following form: Line 1: Number of Variable Nodes(VN) Number of Check Nodes(CN) Line 2: Column weight Row weight Next VN lines: degree of the variable node followed by the check ...

24. HRESULT value decode    forums.devshed.com

Hello, I need to decode a HRESULT decimal value thrown by a COM server. I am actually looking for an application like HRESULT Plus, but it seems impossible to find this app somewhere on the net.. Does anyone have this app or a similar one ? more info about HRESULT decoding ? Thanks!

25. Help me decode this class    forums.devshed.com

yeah that class is on my server... i put the code: you only see more in hexadecimal form but that isnt enough to edit the file properly. Code: TUFA  CONS% A ' LDuhen_Racing_BoostMaster_turbocharger;   LTurboCharger; parts.rpk   !     (I)   ()V  updatevariables  I  name  LString;  ...

26. base64 decoding    forums.devshed.com

Ok everyone sorry to be a pain. I am making great progress, but for some reason this function to decode base64 is throwing me for a loop... can someone quick show me how to pass things to it... I am retarded. I will be decoding base64 strings to ascii Code: int b64decode(char *s) { char *b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; int bit_offset, byte_offset, ...

27. Decoding text    forums.devshed.com

That question has one fact wrong -- the cipher in question wasn't invented by Lewis Carroll at all. In fact, it was invented long before his time by Blaise Vigenere and is called a Vigenere cipher or a Vigenere square. It was considered uncrackable for quite a while. The first known crack was actually discovered by Charles Babbage, who later designed ...

28. XOR Decode Problem    daniweb.com

#define export __declspec (dllexport) #include long filesize(FILE *f) { long fs; fseek(f,0L,SEEK_END); fs = ftell(f); fseek(f,0L,SEEK_SET); return fs; } export double crypto(char *fn, char *sb, double ss) { FILE *f; unsigned char fb[BUFSIZ]; unsigned int bp, sp = 0; long rp, wp; size_t bs; if ((f = fopen(fn,"rb+")) == NULL) { return 0; } rp = wp = ftell(f); while ...

29. decoding auto-generated header #defines    daniweb.com

^^ no, that won't work either because you're expecting the original #defines to remain constant... any modification and recompilation of the GUI will generate a new header file. ^ damned if I know. this is a "feature" of National Instrument's LabWindows/CVI environment. It's basically ANSI C with some extra libraries and a GUI creation tool that auto generates a gui header ...

30. Decoding machine code using C and sign extending NEED HELP    daniweb.com

hi guys im working on making a program where u get given a machine code. The first 6 bits are the opcode, the next 5 bits is the source register, the next 5 bits is destination register and the last 16bits is the immediate. What we have to do is take the value of the immediate and add it to the ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.