- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
29 Posted Topics
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 … | |
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. | |
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). … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
Re: [QUOTE=starkman;557363]. as that would match the resolution better to the information obtained by the eye tracker. Kind Regards, David[/QUOTE] Dear David, I am working on Opencv as well and is working with face detection .I want to do eye tracking and also detect the blink of eyes.Could you please guide … | |
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, … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
Re: Hey vegaseat,I was able to play the sound file (.wav) when i created a project.But now i require that i play the file just as a normal .cpp file (by not creating a project)How shall i do it?And siince i am not creting a project how shall i add the … | |
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 … | |
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. | |
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 … | |
I want to use cygwin compiler in DevCpp...how shall I?(I have been using cygwin to compile programs of Lnux in Windows) | |
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++ … | |
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 … | |
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 … | |
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) … | |
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 | |
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 … | |
Re: Just remove the "using namespace std" and you will see the code just working fine... :) |
The End.