gotoxy c examples +snake

  • C++ examples needed for Tester 3.3

    The User Manual contains examples in C. One of my customers looks for C++ examples, especially for TRI (SA), and TCI (codecs)implementations. Could you help in this? ...

  • Where can I find good C++ examples to work with ADO objects?

    Where can I find good C++ examples to work withADO objects? Only VB examples in the books and in the net:::((( Also can you recommend good book with ADO's C++ examples??? ...

  • Ubuntu how to compile plplot c++ examples

    I just wasted a lot of time trying to compile one of the plplot c++ examples (specifically, x04.cc) in the plplot9-driver-gnome2 package. I couldn't find any instructions in the PLplot Reference Manual, and the little information I found online was either obsolete or wrong so I'm posting the very si ...

  • Oracle C/C++ OCI XML support examples

    I'm trying to find some simple C/C++ examples of accessing XMLType columns from OCI. I'm interested in examples that show the basics like querying an XMLType column and inserting values into an XMLType column. I'm mainly interested in examples that deal with the XMLType column when the data is store ...

  • whats wrong with this program in c++?

    # include<fstream.h># include<conio.h># include<iomanip.h># include<stdio.h># include<string.h># include<math.h># include<ctype.h># include<time.h># include<process.h># include<dos.h># include<graphics.h>class library {int bno,rate,no ...

  • C File handling - search within file without reading content?

    Is there a way using file handling functions to search within a text file to find the position of certain text WITHOUT having to read each character/line and evaluating it?For example, let's say I have a file of 'messages', where a message has a distinct start and end characters. I would like to go ...

  • C/C++ How to Find Port Number and how to change it

    I had just now Installed Mysql and in my folder I saw some of the c examples while execute I found a error message of Port Number is Invalid. while Installation I had given 8080, so I changed MYSQL_PORT to 8080 but still It provides same error message. How to change Portnumber to default one. Please ...

  • converting VB to C sharp for Quality Center

    everyone. I’m new here, and have a huge project to do. Part of it is to convert lots of VB into C#, so far I've found it quite easy. However, Ive come across a few little hic-upsI'm doing it for a project related to Quality Centre (at testing tool), I’m designing automated tools. I’m wondering ...

  • Translate C/C++ Code to python

    For long now have tried to get Python bindings and none is there.jlgm suggested me to try ctypes and I dived in. But there are few examples on using ctypes for new bees like me. I tried to take lame_enc.dll (The file made me to learn ctypes ) as sample to play with. The sad thing is, I find only C/C ...

  • DEV C++ not working

    im using windows xp, and ive installed and unistalled dev C++ several times and i can not get it to work (compile and run) for any program even "hello world". even the dev c++ examples show a [linker error].the code exactly is:[Linker error] undefined reference to `__cpu_features_init' ld ...

  • Examples of Linux Device Drivers Book

    I am trying to compile the sources of examples of the book, Oreilly Linux Device Drivers on ubuntuwhich has the kernel version 2.6.24-24-rt installed on it.In particular, when trying to compile snull (Network Device Drivers Examples), lots of errors prevent from the driver to get built./home/ubuntu/ ...

  • Oracle connecting to 9i lite with embedded c++ 3.0

    I'm having a really tough time creating a connection to a oracle 9i lite database. I can't find any source code that connects to the database, and I can't even get the error so that I can figure out what is going wrong.So far all that I've found is VB examples...If anybody could refer me to some C++ ...

  • Announcement: Examples wiki

    I have started a wiki that I hope to make the "unofficial Daniweb wiki". Its mission is to present short, compilable answers to many commonly asked questions here on the forum.http://programmingexamples.netI have seeded it with a handful of c++ examples, but I'm hoping that some of you Dan ...

  • help with this c++ project please urgent

    # include<fstream.h># include<conio.h># include<iomanip.h># include<stdio.h># include<string.h># include<math.h># include<ctype.h># include<time.h># include<process.h># include<dos.h># include<graphics.h>class library {int bno,rate,no ...

  • Why I can't call SHGetSpecialFolderPath() from Borland's C++ Builder 6?

    I would like to retrive the "My Documents" folder path from the current running "login" in Windows XP. I have seen C++ examples of it. It uses the SHGetSpecialFolderPath() funcion from Windows API.The problem is I can't call the SHGetSpecialFolderPath() from Borland C++ Builder 6 ...

  • COM dll event handling in C++ .net

    Im trying to implement an event handler in a .net windows forms application. I have tried doing it using a event sink class however have now got problems in that the event sink is unmanaged and so am having problems accessing controls etc in the Form. I have seen examples using reflection in csharp ...

  • C++ .NET and Threads

    I've been looking at the sample code for creating threads from a managed class. The C++ examples always use static functions for the function called by start. Is there a requirement that static functions need to be used?The problem is there are no examples showing passing data to the threads for c++ ...

  • threads under C

    OK. I've red some of the post here in the forum and saw that most of the multithread questiosn were for MSVC or for C++.Can anyone give me a starting point for threads (I know of www.google.be ), what are the important "keywords" I should search for?Also, can someone give me some C thread- ...

  • quick question about c# wireless

    I'm looking for some information on wireless programming on c#. I'm quite familiar with java (J2ME) wireless's approach and will use that for a working example:If I want to write an application in Java that will execute from a phone or handheld device, perhaps a game... I create a MIDLET that doesn' ...

  • C# and Oulook XP Contact Folders

    I am trying to open my Outlook Contacts and and capture certain fields from each one (to place in a user searchable / sortable listview).I have managed to create the Namespace, the app and logon, I can even count the number of contacts, but am not able to access an individual contact, I receive a bu ...

  • Why String* in C++ but by value in C#/VB?

    Dot net strings are passed as String* in c++ examples, but in vb they default to ByVal and in C# too as you have to declare them ref otherwise. Does this mean that strings are copied in c#/vb .net method calls but pointed to in c++? Or is the String* just a 'CLR'pointer that means .net will do whate ...

  • Ubuntu ldd3 examples patch under linux-2.6.35

    Only in ldd3_examples_Linux-2.6.35/: ldd3_examples_Linux-2.6.35.patchdiff -crb examples//lddbus/lddbus.c ldd3_examples_Linux-2.6.35//lddbus/lddbus.c*** examples//lddbus/lddbus.c 2005-01-31 15:31:00.000000000 -0500--- ldd3_examples_Linux-2.6.35//lddbus/lddbus.c 2010-12-05 15:07:00.692644942 -0500**** ...

  • Ubuntu C++ pipe

    ...char line[100];fp=popen("ls -l", "r");while(fgets(line, sizeof line, fp))...so, the above reads every line of entry from "ls -l"...how do i pipe, and write to a file?does any of u know where's a site for good C++ examples?ie. examples that does not have thousands of ...

  • Ubuntu (C) Writing a game in ncurses

    I'm trying to write a clone of snake in ncurses. My problem at the moment is that once the snake starts to travel in one direction I can't get it to change. It seems that further calls to getchar() are ignored. I have turned off line buffering with cbreak() but this has not helped.Can anyone point o ...

  • error in using the open source...

    hii am trying to install the open source of gocr in my debian linux and the gocr package is downloaded and made configured and while making the examples(i.e make examples) it is gvn me error lk....debian:/home/prasad/Desktop/errors/gocr-0.47# make examplesmake -C examples allmake[1]: Entering direct ...

  • aiv extenders questions

    helloi have to work with the aiv extenders for IBM DB2. and i have some questions.are the extenders stil supportet in version 8.2?in the audio, image, video extenders documentation is written that i have to start the extenders first. therefore i have to write "dmbstart" into the db2ext com ...

  • improve my code

    #include <iostream>#include <conio>#include <stdlib>#include <windows>#include <string>#include <ctype>#include <iomanip>#include <math>char strg[64], operat[8], last[16], snum[32], dbtt[16], conv[32], atdb[16],attt[16], notnum[16]={'+', '-', 'x', '(', ...

  • A prime and Composite seperating program, controlling screen as well

    /*This program has been made by A & A Group.Muhammad Ali: Roll # 1462 Class A-2 , B.Sc.(Hons.) in C.S.Ashif Zubair: Roll # 1468 Class A-2 , B.Sc.(Hons.) in C.S.ALL RIGHTS ARE RESERVED TO A & A Group.CAUTION!THIS PROGRAM IS PROTECTED BY LAWS AND COPYRIGHTS.AS DESCRIBED IN TERM AND CONDITIONS ...

  • EnumWindows listing specified

    I'm trying to list off all windows with a general title into my Win32 Console Application.for ex: if i have 3 windows up named "'KL 1', 'KL 2', and 'KL 3'", I want to enumwindows with "KL" and have it list all three of the windows in output to my console screen.I have basic EnumW ...

  • Where can I get the docuemntation for Oracle calendar SDK?

    HiI got the sdk but its very tuff to understand. Without examples I can't proceed. Could you point me in the right direction, for how to use it. I am looking for both Java and C examples. ...

  • compilation problem(vector)

    I am learning Vector, I am facing compilation problem please tell me what is the problem,-------------------------------My code ------------------------------------------------------#include<iostream>#include<vector>using namespace std;struct Pair{string name;double val;};vector<Pair ...

  • Extended Stored Procedure - Adjacency list to nested set

    I'm new here. If this isn't the right group for this question, please let me know.I'm working with sql server 2000 (and learning C++) and I wanted to know if it is possible to create an extended stored procedure that would convert an adjacency list model to a nested set model on-the-fly. I have done ...

  • error C2100: illegal indirection

    Hi, I have this error with this functionelaborazioneNoFile(*(the_scan_set),m_imgPath,valueX,valueY,contDim,scansioneFinestra[k].x1,\scansioneFinestra[k].x2,scansioneFinestra[k].y1,\scansioneFinestra[k].y2);the_scan_set is:example_set_c* the_scan_set = new example_set_c();where elaborazioneNoFile is: ...

  • compile time error

    When i compile this programme i am getting this below errorclass test{int latitude;int altitude;public:test () {}test ( int lt, int la){latitude = lt;altitude = la;}friend test operator + ( test op1, test op2);void show(){cout << latitude << "\n";cout << altitude << ...

  • A question about memory allocation

    if I have a class like this:class example_set_c{private:SVMINT examples_total; // number of examples in the setSVMINT capacity; // capacity of the_setsvm_example* the_set; // Vector of examples, each a array of dim+2 SVMFLOATs (x,y,alpha)SVMFLOAT b; // constant of hyperplane (f(x) = wx+b)// Expectan ...

  • LDAP newbie questions

    In trying to be my head around how exactly LDAP works I have some questions which I hope make sense and better yet are easily answered. 1) LDAP and ActiveDirectory are essentially the same thing. AD being the marketing name given to M$ implementation of LDAP?2) LDAP schemas. In trying to find the si ...

  • Need help using the system shell

    What I want to do is navigate to the Networking item in the control panel and then apply a 'verb' of enable or disable to it. Now I found the following script written by a MS MVP:Const ssfCONTROLS = 3 sConnectionName = "Local Area Connection" sEnableVerb = "En&able" sDisableV ...

  • help to debug my

    # include <iostream> # include <stdio.h># include <conio.h># include <dos.h># include <string.h># include <math.h># define TRUE 1# define FALSE 0//if you can change to a class it can be better and fasterstruct member{int mid;char mainname_1[20],madd[30];struct Rea ...

  • help to debug my code

    if you run this code in c++ you get the following error at the underlined part is where the problem is: error C2143: syntax error : missing ';' before 'constant': fatal error C1004: unexpected end of file foundError executing cl.exe. # include <iostream> # include <stdio.h># include < ...

  • need some website help

    I am currently doing my masters in computer science. i want some kind of online notes for studying .net, c/c++ examples, java etc. After a break of one year i m back to studies so i need to brush up my knowledge. I wud appreciate if i get some pdfs or links for studying all these languages... thanx, ...

  • Constructor overloading question

    I need to provide 2 overloaded constructors, each one displaying a date in a different format. Below is my class implementations, header file and main() function code snippets. The code is followed by the compilation error I get. I have tried a number of things, mainly changing the order of my const ...

  • Filed to make DLL

    I was trying to make dll to play with ctypes in python. I'm not good at C++ and I studied it lightly looong ago and only familiar with very simple thing. After search the net I found smo instructions but when I try to Build (with CodeBlocks), I get error:Quote ... C++ examples\dlltest.cpp|5|error C2 ...

  • Cut & Paste with an MSFlexGrid

    I need a C++ example for adding cut and paste to an MSFlexGrid (using multiple cell selection).I have inherited some code that used MSFlexGrid. The previous programmer incorporated an import and export feature to MS Excel. However the way they did this ties my application to a specific version of Ex ...

  • CHtmlDialog is cool - but how ?

    Checking the threads and C++ examples in CodeGuru, I was surprised to only find about 5 discussion forum listings, most of which had no responses.Oddly, MSDN Library search on 'CHtmlDialog' yields 'no results'.I wonder if anyone has a good code example or instructions on how to use CHtmlDialog? Sinc ...

  • directshow with .net 2003

    I am trying to build some of the directshow c++ examples undervisual studio .net 2003, and am getting lots of compileand linking errors. Things like this for instance:blend.obj : error LNK2019: unresolved external symbol "long __stdcall ATL::AtlWinModuleInit(struct ATL::_ATL_WIN_MODULE70 *) ...

  • Zipping a Folder with Directory structure

    I want to zip a files with directory structure. Suppose i have Folder name C:\examplesThis folder may contain sub folder and files also.. And i need code which zips with folder structure.. not only a just a file.. it should also zip folder to..!I search in net..! it only zips the file only..! but i ...

  • Oracle OCCI Compilers/Linkers For Solaris

    I'm developing on Solaris 5.8. I'm attempting to compile/link my C++ application using GNU g++ with no success. On link, I get many undefines referencing objects of the OCCI library.The OCCI library appears to be built using the Sun C++ compiler. I have no problem when building and testing C++ examp ...

  • how to get rid of this warnning?

    // my .h#include "Model.h"#include <map>using namespace std;typedef map<double, Model*> MODELMAP;class ModelSet {public:ModelSet();virtual ~ModelSet();//Operationsvoid add(double,Model*);private:MODELMAP mmap;};//.cpp#include "ModelSet.h"////////////////////////////// ...

  • Adding color to GridView

    Hi. I am creating an asp.net web site. Using GridView the website creates a table. Now my question is I want to color the text "NO" red within the table cells. Waiting for your reply.Please keep in mind my code is written in C# so any C# examples would be greatly welcomed... ...

  • SQL without ODBC?

    I'm learning MySQL right now but am in need of a book with Visual C++ examples. I've looked on the net and everything I've seen so far connects to SQL via ODBC/DSN. Is there a way just to connect via IP/port without any configuration on the client end?Can anyone recommend a good book to learn this w ...