132,726 Archived Topics
Remove Filter ![]() | |
Hello, Can you please assist, why my Dev C++ program, wont see that I am trying to introduce the string library? Eaxmple: [code]#include <iostream> #include <string.h> using namespace std; ... ... ... int id; string name; int item; float cost;[/code] int is bold, float is bold, but string is not... … Software Development c++ | |
I am interested in detecting the approximate output level of my sound card in software; what I want to do in the end is to trigger something when a sound is played in otherwise quiet output, but probably the perfect example project from which I could get started would be … Software Development | |
i dont even know if im on the right track with this one but here it goes. im trying to write a delete function for a BST and this is what i have [CODE]bool BST::delNode(Key key) { BST_Node* node; BST_Node* p; if(findKey(key,root)) { if(root == NULL) return false; if(key == … Software Development c++ ![]() | |
Hello, I am new at this. I am trying to work with calling functions here. (Eventually I want to do some simple calcs on cost of going through a station...)but am getting an error on line marked with ***** initialise line within main int(). Can someone kindly suggest why it … Software Development c++ | |
As usual, the examples I find for this either don't work, or don't apply. I want to store, essentially, a text file, within my app.config file, and access it programmatically. Here's a simplified version: [code] <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <section name="PostScript" [COLOR=Red]type=""[/COLOR] /> </configSections> <appSettings> <!-- User application … | |
This is a little embarassing asking this because I used to know this. How do you create a seperate thread in C++ and have mutexes, semiphores and all that. I have forgotten and I wonder if anyone knows a good example. Software Development c++ | |
i want to know about a program to find out the number on the cd which is presently inserted in the drive Software Development c | |
Hi, lets say I have an array of numbers then I want to display a certain array element. the value inside it,that is. in pseudo code that would be.. int array[5][5]; for(x=0;x<6;x++) { if x= array[0][1]; } ; ; ; message output " the value is array[0][1]" I want to … Software Development c++ | |
hi all, i have a program that read a float number, but with in the program i need 2 deal with the integer only ex. 33.78 i need 2 deal with 33 45,01 ----> 45 66.99----->66 and so on Software Development c++ | |
I'm supposed to take user input in the form of a prefix expression, convert it to infix and postfix, and then print the results. So far, I've got both working, but I would like to add some parenthesis to the infix expression once its converted. At the moment, I can't … Software Development c ![]() | |
HEYZ CAN ANYONE GUIDE ME WHCIH PROJECT TO TAKE UP IN C#.... THAT IS MARKS GAININ....NEED UR HELP DEAR PEOPLE OUT DERE...LOOKIN FORWARD FOR SOME NICE IDEAS N HELP RELATED TO THOSE IDEAS....REPLY SOOONNNNNNN :confused: :lol: | |
Hi all, I'm an experienced programmer in C, C++, and Java, and I'm new to this site. I was wondering if this would be an appropriate place to post a Matlab question. Any Matlab gurus out there? I have a bunch of data files of 10,000 -dimensional vectors that I'm … Software Development first-post image | |
Helloe all I have this small program using switch statment. the problem that when I complie this C code using gcc under Linux I get message: switch guantity not integer!! Now, when I use switch(*hello) instead switch(hello), I got run time error: segmentation fault!! I want to know where is … Software Development c | |
I need to insert a "é" and other such symbols. At first I just tried using é straight out in C++ and it returned Θ. So I looked at my character map and did the unicode version \u00E9 where I wanted the é and it still returned Θ. I guess … | |
hi everyone i have a server using windows sockets and runs on multiple computers on lan, and i need to display a list of the servers from a client machine, what is the easy way ,how can i implement it Software Development c client-server windows-server | |
I apologize, the topic of this thread has nothing to do because this post was started about a parse/syntax error but I solved it on my own and now this is something else, hopefully simple! I have this function that goes like this [code] void er(void) { string erbase[] ={"parl", … Software Development c++ first-post | |
I read the sticky about helping with homework, so I hope this is ok. I'm new to programming, and I think I have the logic correct, but it doesn't give me the correct answer. We haven't learned arrays yet, so we have to do this using if statements and loops. … Software Development | |
hi every one iam new member in your sites and i hope i will find what iam looking for:rolleyes: so my friends i really want ur help iam students in univerisity 3rd level and our teacher ask us to write program in c++ this one below { [COLOR=#000000]Develop an [B]Airline … Software Development c++ | |
I am using netbeans to build this program,but it give this error java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:545) at java.sql.DriverManager.getConnection(DriverManager.java:193) at test.Main.<init>(Main.java:33) at test.Main.main(Main.java:72) how can fix it [code]/* * Main.java * * Created on 14 نوار, 2006, 07:39 Ù… * * To change this template, choose Tools | Template … Software Development java java-netbeans java-swing sql | |
[COLOR=#000000]I am having trouble getting this script started, if anyone has any ideas fell free to comment, i am new to perl script writing and am finding this one a bit difficult: [/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]i need a Perl program which will check whether or not an IP Address entered by … Software Development perl | |
Hello All, I am developing a GUI application in wxPython on linux. I have to provide help menu describing tool's usage. I am not able to get any modules realated to this.Can anybody know how to develope help in wxPython? Thx, rajashree | |
I need some help with a program concerning files. a)I have to create a file with the following information: 1. Honda 4000 2.Toyota 3000 3.Mercedes 8000 4. Toyota 3500 5. Honda 2900 create the necessary data structure to represent the above data in a program. create the necessary variables and … Software Development c++ data-structure | |
Hello All, I am hoping someone can help. I am working on a project that requires me to create a telephone VDU system. I have done all the hard stuff but it's just some of the easier bits that are evading me like... a) The user must press "enter" to … Software Development c++ | |
Hi to all! I'm writing a simple simulation program for elevators but i get a problem, namely: [CODE] elevator.cpp: In constructor `Elevator::Elevator(int)': elevator.cpp:41: error: no matching function for call to `Button::Button()' elevator.cpp:10: note: candidates are: Button::Button(const Button&) elevator.cpp:16: note: Button::Button(int, bool) elevator.cpp:41: error: no matching function for call to `Button::Button()' … | |
There is only so much I can learn from free online sites (though I have learned some important things) and was wondering what books you would reccomend to further my C++ study? Additionally, I've heard bad things about my compiler, Bloodshead DevC++, in that it would be abandoned or is … Software Development c++ | |
Hi all, hoping someone can help me with a bit of code problem. I have this simple C++ program that does some processing on a text file with a bunch of numbers in it. I'm reading the numbers into global structures and then doing some math, then overriting those global … Software Development c++ | |
Hello! I write this program form "Robert w.Lafore" 's book(Object Oriented Programming in C++/"functions" chapter/(about "struct circle"))but the "c++builder5" 's compiler message that "UNABLE TO OPEN INCLUDE FILE "BORLACON.H"!!!!! my question is the "borlacon.h" dosen't exists??!!! ;) *1*->How I can fix this program? #include"borlacon.h" #include<conio.h> struct circle { int xCo,yCo; … Software Development c++ | |
Hi all. I hope this it not taking up your reading time. I'm new and stuck up at the configuration of Dev-C++ compiler. Before posting, I did search throughout the threads, how to fix/configure the error. I have the snapshot of the error. Please give some steps on how I … Software Development c++ | |
Hi all: Try to do some programming under Linux. The programme I am writing is supposed to read all the char from a file via "command in line argument (i.e. agv[i])" and via redirection (i.e. read <FILE_NAME. In my program, I have written: FILE *stream; stream = fopen(argv[i],"r"); if (stream==NULL) … Software Development c file-stream | |
Hey all. Thanks in advance for any help you can give, hopefully this is an easy one. I want to create a loop to run a simple performance monitor like vmstat and record it to a file, but have very limited scripting skills. Starting with this... date >> /var/log/perfmon.log vmstat … Software Development shell-scripting | |
Hi everyone. I'm new, but I'll be here for a while I think :cheesy: . Here is my code so far. The delays are because I wanted to simulate typing =). [code]// #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) { int i = … Software Development c++ | |
hi there, im new in Visual Basic. currently my task is to create a program that will automatically consolidate database based on the time. for example, the program will executes at 10 pm everyday in which the database will be consolidated in that particular time. the database that im using … Software Development mysql visual-basic | |
Hello everyone! I am new to C++ and downloaded Dev-C++ a few hours ago. Is this the right C++ to use? Sometimes I get it to work but sometimes it doesn't. After I typed in the "Hello World" code I compiled it with no errors then when I click run … Software Development c++ | |
Hello all: I successfully use `(int)i=fgetc(stream)` to read data from a file. But the problem is: All the data in the file are integers, like 3 0 2 3 0 0 1. (with a space between every two integers) Code: for(i=0;(i<100)&&((n=fgetc(stream))!=EOF)&&(ch!='\n');i++) { buffer[i] = n; printf("%d=%d ",i, buffer[i]); /*For debugging … Software Development c file-stream | |
Hello - I'm trying to work with Microsoft's VB editor to create a series of macros. Information will be inputted into word using mail merge, and I [I]think[/I] we'll be seeing it in comma-separated values. It'll be dumped from a Peoplesoft application into Word. The code I'm writing needs to … Software Development first-post perl visual-basic | |
Hi.. Could any one tell me about... 1) What is top-down approach(POP) and bottom-up approach(OOP) and the difference between them.. 2) Different types of containership (might be with exs..) Thanks for the help | |
hello i need help, i have to input 10 integers and find the maxinum of the numbers. [code] #include <iostream> using namespace std; int main() { const int MAX_NUM_INTEGERS = 10; int integers[0]; int largest = integers[0]; cout << "Enter 10 intergers: "; cin >> integers[i] for (int i=0; i … Software Development c++ | |
I need to make a high scores list to a game, for class, and it has to be stored using a pickled object. I can only get it to where it stores and prints one score, and then every time you play it the score gets overwritten. How can I … Software Development python | |
hi frnds, i am a new member of this group. i am facing a problem while using eclipse. my eclipse version is 3.1. my question is how to configure eclipse so that it can detect the external jars while compiling some program? if u know , please suggest me . … Software Development java | |
I'm writing an IDE for java and already got the compiler linked into it, but I can't figure out how to read the data on the System.err or System.out streams. | |
Hi Everybody! First of all i would like tell my sincere thanks to founder of this site and people sharing the information. I am Newbie to this forum & to C language too.. Now i want to start to learn C. Could any body suggest/send me some quick start & … | |
Consider a line of simple C code: fopen("C:\\project\\test1.dat","r"); it "directs" the program to the directory where it can find the file from which it will read. My question is under what circumstances, I may write fopen("test1.dat","r") instead? Does the program need to be in the same folder / directory as … Software Development c++ | |
A newbie here. I try to: Using MS Visual Studio 2005; Programming some simple C programs; Want to open a text file and read whatever it the file into a member of a struct. First of all, which type is this "FILE" anyway? Secondly, does the definition of "stdin" include … Software Development c visual-studio | |
How to Sort a MultiDimensional Array in C ???? in ascending order ? Software Development c | |
hello, how do i remove elements which are repeated in a list .I cant seem to do it . in this program i am first putting elements into the list ,then searching for a particular element seeing how many times it occurs in the list(count) .i need to display the … | |
OK.......right now i'm learning about binary tree traversal and this problem looks like a total killer to me. Here's it is: Write a program that takes as input the preorder and inorder traversals of a binary tree, and produces as output the level-order traversal of the tree. All i gotta … Software Development c | |
can someone tell me a code for a countdown timer to a date set in a msgbox pop up Software Development visual-basic | |
[CENTER][B]For Starters...[/B][/CENTER] I was recently helping someone with Random Files, and I realized as I googled along, that it took me some time to find any kind of information about random files, and how to go about working them. I had to pop in an old 3 1/2 inch floppy, … Software Development visual-basic | |
Hello all, this is my first post and I feel a little bad about asking for help (instead of offering help), but I've reached writer's block. If I formatted this post incorrectly, I apologise... Okay here's what I need to get/have/do... I need to write a c++ program that will … Software Development c++ first-post |
The End.