- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
I have a a few callback functions. i need to register them as a list. And callback all the registered functions in a main after a certain task is done. I am new to callback functions. Please shed some insight on this xcallback(register_callbackfunctions); ycallback(register_callbackfunctions); register_callbackfunctions()//not too sure what goes in … |
|
Hi I am trying to malloc align each location of an array to 128 bits. I am using the method malloc_align in linux to align arrays and so on. But in this case I want to align each position of an array to 128 bits for(i=0;i<size;i++){ //N=7 2^N=128 array[i]=malloc_align(sizeof(double),7) ; … |
|
Hi I have a double *ptr which I use as an array. I am trying to send the address of the ptr to another sub processor. But I can only send 32 bits to the other processor.So its giving me an error makes pointer of type integer without a cast. … |
|
//Trying to read double values from each line of a file..and try to store them in arrays //when i debugged,it doesnt do the parsing for the alldoubles e.g txt file consists 2.3,4.5,6.2,4.5 2.8,2.4,4.6,1.2,3.5 3.6,3.8,5.9,4.9,12.6,112.8 trying to put them in separate arrays [code] //CODE?? #include <stdio.h> #include <stdlib.h> #include <string.h> FILE … |
|
hey guys i need some help with cell be programming.Pls msg me if u knw anything abt it |
|
Hi guys I am trying to read 8 lines from a file an and pass each line of data to a separate SPE using dma transfers.. how can I do this any ideas? |
|
I have an [B]char[/B] array i.e array={2.3,5.5,8.9} how can I typecast them so I can put them to an array of type double |
|
Hi I am trying to read a text file which has a few lines of double values I need to go line by line and put them in several arrays ex 4.2,3.4,5.7,8.7 2.5,6.4,4.4 How can I do this in C I also need to save the values in an arrays … |
|
Re:
Hi there, I am trying to make a piece of code in C that: 1. opens a specified file, 2. Reads the data in the file and separates it into two arrays, based on the position of commas, 3. Converts the strings into doubles and then perfoms some manipulation on … |