Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
~11.3K People Reached
Favorite Tags
Member Avatar for danibootstrap

I need to make some changes in SPI in Linux. I found that IOCTL was the called function. So where is IOCTL defined? I am using Yocto linux on Intel edison (arduino breakout board).The function call is as: ioctl (this->fd, SPI_IOC_MESSAGE(1),&msg); In the IOCTL definition I want to add code …

Member Avatar for Bazirao
0
1K
Member Avatar for danibootstrap

I am unable to run a serial comm library in visual studio for a 64 bit machine target. It works fine for x86 bit. I have attached my source code and visual studio solution file. Some one please help.

0
31
Member Avatar for danibootstrap

I want to stream some random data from a wifi chip to another ip(cellphone or tablet). How shall I do it?I want to stream data at 30mbps or more. The hardware that I want to use is first a laptop ( make it send via a router to another computer). …

Member Avatar for rproffitt
0
307
Member Avatar for danibootstrap

Hello, I am getting a linked error when I changed file name to cpp. 1>main.obj : error LNK2019: unresolved external symbol "void __cdecl func_name(double * *,int,int,int,double * *,double * *,double * *,double * *)" I am using objects in my new code but this function which was there earlier is …

Member Avatar for rubberman
0
290
Member Avatar for danibootstrap

Hello, I am caputing sound from a codec using a microcontroller and sending it over to the laptop using a serial port .Now I want to use this buffer of values to regenerate the captured sound in Windows using C/C++. I have no idea about how to do it?Can some …

Member Avatar for Mayukh_1
0
194
Member Avatar for danibootstrap

I am getting this error. LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library serialtest.obj : error LNK2001: unresolved external symbol "void __cdecl fastICA(double * *,int,int,int,double * *,double * *,double * *,double * *)" (?fastICA@@YAXPAPANHHH0000@Z) Debug/vctest.exe : fatal error LNK1120: 1 unresolved externals Error executing …

Member Avatar for Moschops
0
332
Member Avatar for danibootstrap

I get this error in a c code of mine error C2440: '=' : cannot convert from 'LPVOID' to 'unsigned char * if((buffer = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, totalBufferSize )) == NULL) { fprintf(stderr, "Memory allocation error\n"); ExitProcess(1); } and even this error C2440: '=' : cannot convert from 'unsigned char …

Member Avatar for Moschops
0
791
Member Avatar for danibootstrap

Hi, Is there a simple and small code for client and server to talk to each other over TCP/IP (windows sockets)?Please let me know.

Member Avatar for funtom
0
343
Member Avatar for danibootstrap

Hi, I came across this amazing new project that "Parallela" super computer for 99$ by adapteva. Imagine that you can get a 45 Ghz computer for just 99$. This will revolutionze super computer at home for a hobbyist, the geek programmer and even massivley effect college education and research. It …

0
71
Member Avatar for danibootstrap

Hi, I observed a strange bug in VC6 and Visual Studio compiler. For one particular program I needed to declare a heap as [B]u = new double[width * height][/B]; where width = 640 and height = 480 and initialize all the values to 0. So I did [B]memset(arru,0,640*480[/B]);. But to …

0
89
Member Avatar for starkman

Hello all! I am having a bit of a problem with the grasps of Open CV and thought i may be able to request some of your help. Though I'm not completely sure that this is the right category. I have been playing around with openCV to try and provide …

Member Avatar for megamanexp
0
231
Member Avatar for danibootstrap

Hi, I am new to ruby and I want to write code which makes shared memory and writes to it.Similar to the C code here: [CODE=c]void main(int argc, char* argv[]) { HANDLE mappedFile = 0; int oneSecond = 1000; char* shared = NULL; HANDLE eventHnd; eventHnd = CreateEvent(NULL, FALSE, FALSE, …

Member Avatar for tiger86
0
257
Member Avatar for danibootstrap

Hi, In one app I am porting code from jave to c++.The program compile fine but crashes when it enters into the ported code section.I use STL linked list implementation from here: [URL="http://www.syncdata.it/stlce/stl_wce.zip"]http://www.syncdata.it/stlce/stl_wce.zip[/URL] Java code: [CODE] LinkedList toProcessx; LinkedList toProcessy; void phaseUnwrap() { int startX = inputWidth / 2; int …

Member Avatar for Phaelax
0
229
Member Avatar for danibootstrap

Hi, The following is a GPS string: $GPGGA,092204.999,4250.5589,S,14718.5084,E,1,12,24.4,89.6,M,,,0000*1F $GPGSA,093345.679,4234.7899,N,11344.2567,W,3,02,24.5,1000.23,M,,,0000*1F $GPGSV,044584.936,1276.5539,N,88734.1543,E,2,04,33.5,600.323,M,,,*00 $GPRMC,199304.973,3248.7780,N,11355.7832,W,1,06,02.2,25722.5,M,,,*00 $GPVTG,066487.954,4572.0089,S,45572.3345,W,3,09,15.0,35000.00,M,,,*1F I want to extract the line following and including $GPGGAand $GPRMC.The GPS string length is variable.Please let me know how to do this and store each of them into a single string or 2 separate strings. thanks in …

Member Avatar for slate
0
114
Member Avatar for danibootstrap

Hi, Is there a way to write code or do functions exist for keypress down and keypress up of the keyboard.There are functions for mouseleft button down and mouse left button up.Is it possible with keyboard keys in windows?Like "Alt"+"F" etc... Any sample code or resource would greatly help.Thanks in …

Member Avatar for Ancient Dragon
0
100
Member Avatar for danibootstrap

Hi , Is there a way that I can draw lines or circles etcc..(graphics) onto windows screen? Please let me know.Sample code would greatly help.

Member Avatar for Ancient Dragon
0
311
Member Avatar for danibootstrap

Hi, I want to write code for opening an external file or program from the C program.Could anyone tell me how to do this? Say if I want to open calculator.exe I mention the path in the program and it should open it or say if I want to open …

Member Avatar for danibootstrap
0
276
Member Avatar for vegaseat

Short little sound files of chicken, horses, dogs, cars, trains and other annoying things is the realm of the wave file (.wav). These are easy to play and guaranteed to confuse grandpapa. Again, we are using Windows' sound workhorse winmm.lib file. Ze function this time is PlaySound(). Here is ze …

Member Avatar for danibootstrap
1
196
Member Avatar for danibootstrap

I have a C code and I when I compiled it as just a single file it did .But now I want to make a project and when I created the main.c with the same code I am getting the following error. Makefile.win:29: *** multiple target patterns Build error. Can …

Member Avatar for sanmay
0
179
Member Avatar for danibootstrap

Hi,I want to try out speech recognition with my robot.Like I say move and the robot moves forward.I want to do this in C (DevCpp)? Windows XP.I have used Open CV for Image Processing.Is there a speech recognition SDK like the Open CV?Please guide me.

Member Avatar for danibootstrap
0
82
Member Avatar for danibootstrap

Hi, I want to write a simple code to change the mouse pointer position.Like I enter the value of X and Y and the mouse pointer should get positioned to that co-ordinates.What are the specific functions that I need to use to set mouse position and get mouse position?I searched …

Member Avatar for danibootstrap
0
117
Member Avatar for danibootstrap

I want to use cygwin compiler in DevCpp...how shall I?(I have been using cygwin to compile programs of Lnux in Windows)

0
76
Member Avatar for danibootstrap

The following steps tell how to create a project file to play a wav sound file 1- create a project file. 2-Choose Console Application in Basic tab. 3-After Create the Project File go to Project Option 4-Choose Parameter tab 5-Click the Add Library or Object 6-Browse the location of Dev-c++ …

Member Avatar for penguina888
0
201
Member Avatar for danibootstrap

The following is the code for Serial comm in Dev Cpp (OS :WinXp) .It is a project .It has a main.cpp ,serial.cpp and serial.h Serial.cpp [code=c] /* Serial I/O class using the Win32 file funcions for compatibility with all versions of Windows (including CE) */ #include "SFile.h" #include <stdio.h> #include …

0
72
Member Avatar for danibootstrap

Hello,I have this C program which is equivalent to the com port.Useful for data logging from the sensors.It consists of the .c file and two header files cport.h and xmodem.h .The code compiles fine but there are lot of linker errors.I tried a lot ,pulled my hair but no use.Can …

Member Avatar for danibootstrap
0
945
Member Avatar for danibootstrap

Hi, I have just started using sensors and I did the coding for ADC.I am able to get the ADC values using the Hyperterminal.But I want to build real time graphs using C in DevCpp (Windows).Any sample code which will help me read the data from the serial port (9600-8-N-1) …

0
69
Member Avatar for danibootstrap

I want to have my account and all the posts that I posted deleted.I have been facing privacy problems. I want to start under a new account name.Please help

Member Avatar for happygeek
1
50
Member Avatar for danibootstrap

Hello,I am doing a project in which i need to send and receive data from a microcontroller.I was trying to do this in DEV CPP IDE 4.9.9.2 but couldn't succeed till now.The following is the code i tried compiling. The code: [code] #include <bios.h> #include <conio.h> #define COM1 0 #define …

Member Avatar for danibootstrap
0
3K
Member Avatar for kakilang

below is the source code that i type, but it can't play the wav sound [PHP]#include <windows.h> #include <mmsystem.h> int main() { PlaySound("chimes.wav",NULL,SND_FILENAME|SND_LOOP|SND_ASYNC); return o; }[/PHP] when i compile this source code the compiler prompt link error can anyone help to show the problem i using windows xp and dec …

Member Avatar for Salem
0
1K