132,726 Archived Topics
Remove Filter ![]() | |
i am having trouble incorporating this createprocess function with opening a execultable.. it is in c++ and i keep getting 2 error messages which are C:\Program Files\Microsoft Visual Studio\MyProjects\process\process.cpp(24) : error C2143: syntax error : missing ')' before ';' C:\Program Files\Microsoft Visual Studio\MyProjects\process\process.cpp(27) : error C2065: 'IpApplicationName' : undeclared identifier … Software Development c++ visual-studio | |
I have two structs: [code] struct Vertex { int row; int col; friend istream & operator >>(istream & is, Vertex & v) { char t[3]; is >> t; v.col = t[0] - 'A'; v.row = t[1] - '0'; return is; } }; struct Move { Vertex orig; Vertex dest; }; … Software Development c++ | |
The program sorts numbers in ascending order. If the user enters a "-r" in the command line, the program sorts the numbers in descending order. The problem I'm having is that I can't get the **** program to read the if/else condition correctly. Maybe something wrong with my syntax? :evil: … Software Development c | |
:idea: :idea: hey, guys & experts :D i'm havin' a big pro now~~i can't past the test 3 now... i know i may hav a bug but seems too hard for me to find it out can anyone help me???seg fault... i hav asked many ppl but....plzzzz ====the file==== dict.cc … | |
um... i'm an IT student. i'm still a freshmen though... i'm kinda confused with c programming. i have to make this program using stack. i can add, delete, and view all records but i can't seem to make my search function work. here's my codes, hopw anyone can help. thanks! … | |
Hi guys inside the double array it holds '?' character. How would i do the format printing to print it like this ithe user input variable is the size variable if 5 is typed in it suppose to print 5 rows and columns and print 2 rows and columns if … Software Development c | |
hi, i want to know everything abt container classes. please help me. bye Kushal Software Development c | |
Hi, I want to change the font size of text in C language for printing text. Thanks in Advance. Ashish | |
This is what I have and think it is correct but the result shows up as all spaces... Im lost... Any help would be great. Thanks 0:000> ******************** process_strings.dbg 0:000> da message *** WARNING: Unable to verify checksum for process_strings.exe 00404000 "You can't always get what you wa" 00404020 "nt" … Software Development assembly | |
Hi all, I like to moitor the database server from application server.I like to check tha particular server fo this DataBaseis up and runnig. I could do it in Java( JDBC program). But the difficulty is when i am spreading this program across all servers, i need to modify the … Software Development shell-scripting | |
hai, i need some help in developing a simple calculator! i've finished the front-end part using jigloo software but the problem is when i click the first number,that number will appear in the textfield after that when i click the '+' button the textfield is clearing but i'm not able … Software Development java ![]() | |
Iam Trying to implement a basic text editor in c++. I've used a doubly linked list for storing the typed characters in a line and have implemented another linked list (No 2)to store many such lines for a document... When i try to save the file using list No2,i find … Software Development c++ ios linked-list | |
Hi guys im trying to write a program this is the basic spec 2 teams of 11 to be picked at random and 4 reserves there are 40 people to chose from. I am seriously stumped here as I have to pick the two teams, I managed to write a … Software Development c | |
Hi there, I have a system built in VB_6 professional which reads from an access database. I need to search for a specific record using a word or short description entered by the user. This will link to the DESCRIPTION field in the database itself. Not being case sensitive would … Software Development visual-basic | |
Graph theory (vertex-edge) is one of popular projects for uni. students, here is a link which includes source code and explains. [url]http://www.syncedit.com/public/tutorials/university/cpp/index.html[/url] Software Development c | |
using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using System.Web.Security; using System.Data.OleDb; using System.Configuration; namespace hepsi_web_form { /// <summary> /// Summary description for WebForm1. /// </summary> public class WebForm1 : System.Web.UI.Page { protected System.Web.UI.WebControls.TextBox txtUserName; protected System.Web.UI.WebControls.RequiredFieldValidator rvUserNameValidator; … Software Development oracle | |
Moshi2... could anyone help me, how to convert ASCII to Hexadecimal and binary just like this.... "Hello this is a test" Hex: 48 65 6c 6c 6f 20 74 68 69 73 20 69 73 20 61 20 74 65 73 74 Binary: 01001000 01100101 01101100 01101100 01101111 00100000 01110100 … Software Development c++ | |
Hi! Thanks for your help in advance..... Heres my case I have a dictionary "d" with keys as string and a dictionary as integer "1" as keys to a list [1,2,3] [code] d{"test.tif": {1: [1,2,3]}} [/code] Now when I try looping through it........it gives me an error [code] for i … Software Development python | |
hi, how can you read a hexadecimal number in c++? is there any option with cin/ your help is greatly appreciated. Beulah Software Development c++ | |
Hi All Was just working on detecting memory leaks ....... Where can i get the actual code implemention of new and delete functions in C++ , Best Regards Varun Software Development c++ | |
Hi. I am working on a particular sql statemtent that looks like this, but I simplified it greatly. [CODE]x="INSERT INTO TableA (T1.Key,T1.Field1,T2.Field1,T2.Field2,T3.Field1,T3.Field2) FROM (T2 RIGHT JOIN T1 on T2.Key = T1.Key) LEFT JOIN T3 ON T1.Key = T3.Key"[/CODE] That is how Access created the statement. All 3 tables have the … Software Development sql visual-basic | |
Hello, I would just like to try VB. I've tried Python; too easy and C++: too difficult/abstract for a beginner. What I'd like to ask is: Do I need to buy VB? And if I don't, where can I find a good tutorial? Thank You. Software Development python visual-basic | |
Hi all just signed up to the forum basically for the past coupple of month's i have been working on an ActiveX chatroom Controll for use with IE browsers and the Mozilla / Netscape browsers, this once compleeted will be opencource for others to use at the moment its being … Software Development image listview visual-basic | |
Hi every body! I want to make project on speech recognition in linux using C/C++. In which user will speak linux commands(mostly letter by letter) and that will be entered on the console. ex- if he wants to enter 'ps -l' he has to speak- 'p', 's', 'minus', 'l'. I … Software Development c++ | |
I'm trying to read data from file into a graph and am wondering if anyone could suggest the best way to go about this... The data will be presented with commented lines that need to be skipped - these lines will begin with "/". Once I've skipped the comment lines, … Software Development c++ file-system | |
Hello everyone, I am writing a program, which goes into the system tray, but I want to make it visible after it goes into the tray by using a combination of keys. For instance, I want to make the window become visible when I press shift + z. Does anybody … Software Development | |
I would like to dump a fairly long text file into a multiline textbox and have the end of the file showing without having to scroll down. Is there a chr string equivalent to the "END" key? Software Development visual-basic | |
Guys.. See this code? is it right code or have it mistake?please advice in details, 1- By knowing the numbers: so i guess here the numbering is knowing mov AX, 2 mov BX, 2 mov CX, 2 add AX,BX add AX,CX put AX end 2- By entering the number enering … Software Development assembly | |
Here are the control transfer instruction inerruot the sequential execution of instruction in memory and transfer control to some other point in memory either unconditionally or after testing the result of "CMP: instruction.. The Control Intructions are: 1-ja dest-----> Jump if above 2-jae dest -----> jump if above or equal … Software Development assembly | |
I'm trying to write a program that uses a DIMACS Graph input, and do several diffent things with it. I've got most of the methods working except one: An all-pairs shortest path that uses Floyd's Algorithm. I've written it a couple times, and it works sometimes, throws and exception sometimes, … | |
Respected Sir/madam, Could you help me in understanding the dynamic memory allocation for a 3D matrix. I have attached the file.I am allocating memory dynamically for the 3D matrix,which i am using in my project. As per the concept when new is unable to allocate the specified memory it will … Software Development c | |
Hi, i'm trying to write a function that enlarges a given two dimensional array horizontaly and Verticaly by different numbers. So far i have got this code. Bu it doesnt really work at the moment. Please help. Code: void BitMap::enlarge(int horiz, int vert) { bool temp[MaxSize][MaxSize]; temp[0][0]=true; int m, k; … Software Development c | |
Hi, Im trying to make a multiply table from 1 to 10. Im trying to do this with array's. This is the code i have till now: [code] #include "conio.h" #include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #include <cmath> #define arraylen = 10 main() { int x[11], *a; int … Software Development c++ | |
Hello all! I'm hoping that you might be able to provide a little help. I've been working on this project for my class, and so far I've been doing okay, but I've reached a point where I'm completely stuck. I have to print a sorted array, and I'm just not … Software Development vb.net | |
i have 3 errors that i cant figure out y they are appearing i thought everything was fine [CODE] template <class TYPE> class Darray{ protected: TYPE DEPTH; TYPE ROW; TYPE COL; Cell *** array; public: Darray(); //constructor Darray(TYPE depth, TYPE row, TYPE col); //overloaded constructor ~Darray(); //destructor Darray(const Darray& darray); … Software Development c++ | |
Hello folks my fstream system appears to have failed! it all worked until i split the file up into *.H and *.CPP. // header file [code] #include <string> #include <fstream> #ifndef SCANNER_H #define SCANNER_H void openfile(void); bool check(string token); bool testing(char sym); string getsym(void); #endif [/code] the .cpp file: [code] … Software Development c++ | |
hi everyone, I was wondering does the eclipse ide support debugging. For example in netbeans if you have a bit of code you can go through it line by line and if you have an error say in line 5 the debugging stops at that point :lol: thank you | |
This is my first time dealing with file I/O and need help figuring out the best way to read in data and store it for further manipulation. I have a file that contains an individual's salary, and 3 product ratings on each line, such as: 75000 01 05 09 What … Software Development file-system java | |
My problem is that I have to pass two dimensional array into member function and fill it. I've tried solve it on few ways but only success is without class in main fuction create object and fill array in that object, but that isn't what I need. I've read in … Software Development c++ | |
simple problem....but I have no clue why its not working..... [code] if (w[0] > m[1]): temp = ((w[0]-m[1])/w[0])*100 print temp [/code] For some reason temp is always 0.........I want a double percentage difference between the two values.... Please guys..help me out here......after 500 lines of code ...I am stuck here......my … Software Development python | |
I am trying to delete the first node in the singly link list but cant seem to do so? My Code is below... Could someone please suggest something. thanks. This program has an enqueue function which works. `*p` is a pointer to a node which has been allocated using malloc. … | |
Hi! I have a class called anItem which is defined something like this : [CODE] class anItem { CString string1; CString string2; long bla1; long bla2; }[/CODE] ok should be enough. Constructor/Destructor are empty. At another place I use this class as a template for a std::list. [CODE]std::list<anItem> list;[/CODE] I … Software Development c++ | |
I can't seem to make the map template work for me. [CODE]//#include "PrecedenceXY.h" #include <map> #include <string> using namespace std; map<string, int> normalXPrecedence; map<string, int> normalYPrecedence; normalXPrecedence["x"] = 1; normalXPrecedence["x^2"] = 2; normalXPrecedence["x^3"] = 3; normalXPrecedence["x^4"] = 4; normalXPrecedence["x^5"] = 5; normalXPrecedence["x^6"] = 6; ect, filling up both X and … Software Development c++ | |
Hello, I am in an entry level C++ course. We have a homework problem that requires us to prompt the user to enter five sets of three numbers (type double) and store the numbers in a 5 x 3 array called `Data[5][3]`. Then, pass the matrix `Data[5 ][3 ]` from … Software Development c++ | |
Hi all, what exactly is segmentation fault or access violation and exactly when does it occur? Why does the following program work correctly : [code] #include <stdio.h> #include <conio.h> int main( ) { int a[5]; a[20] = 20; a[-20] = 30; printf("%d %d", a[20], a[-20] ); getch( ); return 0; … Software Development c | |
VC++ 8 I have created a form class with a combo box. I want to populate the combo box with data calculated from the form. This I can do. But I want to tie the string data in the combo box to numeric (double) value. Select the string and get … Software Development c++ | |
Dear Colleague, I have some experience with turbo c++, but now I have an assignment to be done using Dev C++. Is there anyone who can give me an idea about this Dev C++. It Good if it is supported with some sample program that use some classes and files. … Software Development c++ ![]() |
The End.