199,114 Archived Topics
Remove Filter ![]() | |
Hi, i'm new to C++ (well actually i just haven't looked at it in awhile) and I've been trying to figure out how to make my array's content depend on a condition. It's not extremely important, but I think there's got to be an easier way than what I'm using. … | |
Can anyone suggest me a nice and easy to use C/C++ compiler under Windows.. Give the URL from which I can download. Thanks in anticipation... | |
im jus into basic.. i need to create a login form containing the fields Username, UserID and Password. It has to be connected to the MS Access Database and when the login button event is clicked i want it to check t database whether the details are all correct n … | |
I have never compiled before, and I will leave it to you gurus. But I want to drive this (single) program around the block, so any assistance would be appreciated. I have: WindowsXP Pro Borland Compiler 5.5 (free version) MS Visual C++ 2005 Express and the Platform SDK I am … | |
Good Day one and all, I am final year MCA student. I want to do one mini project in this semester. I know VB, VB.NET. I already done a student management system for a school. Now i need a good project title to do in this semester. can anyone give … | |
got to thinking that i couldnt find a way to find the intersect of a string and array nor could i find a quick way to do an array / array. i searched a bit on google and didnt really find anything that showed me something like Array.Intersect(array a, array … | |
I am reading a CSV file and parsing its content into tokens. Now i want to know how to check for End of File. I am giving my code to be more clear. [CODE][COLOR=#0000ff]ifstream file(filename); if (file) { char ch ; do { file.getline(line, SIZE); tmp =static_cast<string>(line); vector <string> array; … | |
Hi, Is there anyone who know of any website that offer free interactive learning of java? TQ | |
Hello group, Could anyone of you tell me how to convert string to const char* in C ....function c_str() is not working ...i dont know why............ Thanks... | |
So here's what I'm trying to do. Basically, I have a huge text file of strings which are delimited by a delimiter. I would like to read each string separately based on the delimiter. Note that each chunk can span several lines, so I don't want to read it line … | |
What's the difference between Static and Dynamic Memory Allocation and what are the advantages and disadvantages of them both? | |
Can any one help me out... How can i read website uploaded xml file e.g [URL="http://www.abc.com/book.xml"]www.abc.com/book.xml[/URL] reading xml file is not a problem if it reside on my PC. but i need to read and save book.xml (as shown in the above example) Please let me know the code if … | |
[FONT=Comic Sans MS] :?: Ok, I am a pretty good with visual basic, i have almost mastered the basics and thoght it would be cool to make my own personal os, the way i want it, updating it whenever i feel, i am not sure if it is possible, but … | |
Hello people! i reallay dont have a clue how to connect my newly made database to my c# please help. | |
Hey, i just got alil problem. Im trying to create a 2d array with a size of [1000][1000]... [code] double variable[1000][1000] = { 0 }; [/code] its compiles fine but when i run the program, it just crashes...is the array too big?? the maximum i can get is [300][300]...any ideas?? | |
hiii all do any1 knows how to read the header of a file to know its format as example if i've a mp3 file but it's name do not include .mp3 i wanna make a program that read the header of the file and detect it's format but i dont … | |
I need to know who to call up other forms from one form or another and also see and unistall programs from a computer using vb programing | |
The following code finds the square root of a number, it runs fine unless you compile with MinGW gcc: [code] #include<stdio.h> #include<stdlib.h> int main(void) { double x0,x1,a; int i; x1 = 1; x0 = 0; printf("\nFind square root of: "); scanf("%lf",&a); for(i = 0; x0 != x1; ++i) { x0 … | |
Hey there, I have a large program in Matlab that I have to translate into C. Is there any function or program that can do that automatically? Thanks, Patrick | |
i want 2 use the ignore function 2 ignore some of my inputs data, but i dont know how i'm using C++ | |
Hey guys- I have to write a program in C, a pretty printer, that will be used in formatting assembly language code. To run the input, a source file must be provided as input for the 1st argument. A 2nd runtime argument is optional and, if present, it must be … | |
I am kind of confused about how DestroyWindow() works. According to the help files this function sends a WM_DESTROY message to the window it has just removed from the screen. In my [inlinecode]WindowProc[/inlinecode] I have something like the following: [CODE] case WM_CLOSE: { DestroyWindow(hwnd); return 0; } case WM_DESTROY: { … | |
So I'm trying to learn how to use function pointers (ie to pass the address of a function to another function to execute it - like a call back). I have it working when I use it as follows: Classes.h: [code] #include <iostream> using namespace std; class Class1 { public: … | |
I am trying to access files in a folder. The folder name and location will be given - the program will search inside the files in that folder for a specific pattern(yup like grep). However, I am not sure how to actually let my program know what are the files … | |
Hi, I am looking to hire someone to spend some evenings or days helping me understand Visual C++ 2005 better. I am a Structural Steel Detailer by trade but have developed some application related to my field. I have written some in C and C++ but I would like to … | |
I am learning C++ using Stephen Pratas "C++ Primer Plus" (excellent book btw). However i am stuck on exercise 6 chapter 4, where in essence i just have to use new to allocate the array of structures dynamically. I can allocate a single structure dynamically, however i still do not … | |
[COLOR=DeepSkyBlue][COLOR=Cyan]how do i change/get my port number because i have my ip address and all that i just need to find my port number. if you know it please tell me how to change or get one for free since i need it for my site if your interested in … | |
I wanted a pragram in C showing the working of various CPU scheduling algorithms like SJF, Round robin.priority etc. | |
Just wondering if there can be a raw ASCII input where the same token (e.g 257 = at) appears numerous times (say 100) in the compressed output? what ever the solution is whats the reasoning behind it? Cheers | |
How do I make a button that will bring up the download box for something on my website, without the user having to right-click and select "Save Target as..." :?: Thanks :lol: Martin :lol: | |
Hello guys :) I have a prog. assignment due on Sunday! I need help to get me started. The task is implement a program for any hamming codes not just (7,4). The user input the following: 1. Desired hamming code (n,k) 2. Choose to encode or decode. So, I am … | |
[SIZE=3][FONT=Comic Sans MS][B][COLOR=Magenta]im new :o to vb though ive done some qb before could anyone post games to make a collection so i could learn[/COLOR][/B][/FONT][/SIZE] | |
Hello everyone, I am wondering how to transpose a matrix (m * n) with only constant space complexity O (1). (The transpose algorithm should execute/operate on the original matrix.) thanks in advance, George | |
im new with Swing..im having problem on gridbag layout(my classwork)... im trying to stick a header(label) and a scrollpane(with a JList attach to scrollpane) to a tabbedpane which the outcome may look like [URL=http://www.geocities.com/dogkickass/1.jpg]this[/URL] but for some reason..my scrollpane doesnt want to show up... i need some help and tips … | |
This program is almost the same as the one last i posted but here the bubble sort algorithm is not working, i get a compiler error saying:: size of cdRecords is not known and need explicit cast to convert I cant work out what the problem is because another program … | |
I have a working model of Visual Basic 6.0 that came with my textbook that I have from ITT Tech. Im trying to install it but i keep getting a window that reads: 16 bit Windows Subsystem C:\WINDOWS\SYSTEM32\AUTOEXEC.NT The system file is not suitable for running MS-DOS and Microsoft Windows … | |
I did find the Python code snippet on PMIDI module here. It works fine and I have made some interesting sounds with it. Is there way to save this as sound file? | |
My app has four group boxes with four text boxes and one button in each group box what i would like to do is use the keyboard enter button to tab instead of the tab button and when it gets to my control button instead of left clicking the mouse … | |
hi, i want to give a value to a variable when the surfer clicks on a link, i am not sure how to do that in php, also, i would like to pass on the value of that variable to a different page. can someone help me with the coding? … | |
I noticed I have two versions of wxPython installed on my linux system. I found a way to choose which version you want to import [code] #!/usr/bin/env python import wxversion wxversion.select('2.6') [/code] | |
I want to know how to write a program to print all Armstrong numbers between 1 and 500. | |
hi guys i want write one program to hide process in windows. but i dont know how... ;) can you help me. i want any sample and source code. thanks | |
I'm having this issue on how to sort reports based on part numbers i have part numbers that i return have either a part number as in 1000 or if there have been multiple part number could be 1001-2 mean that there were 2 revised copies of the part number. … | |
Hi again.I was just wondering about different layouts I can use with swing and I just came accross a sample program at [url="http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html"]http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html[/url] anyways there was this example program that I just couldn't find the error.Anyhelp would be welcomed. The error it is giving is cannot find symbol variable springutilities … | |
[B]Problem[/B] Due to a rather annoying and very old bug in JTable you will never get a horizontal scrollbar on a JTable even if the table is wider than the JScrollPane you placed it in. According to the bug report this is due to an error in the handling of … | |
i've been doing c# (breath of fresh air after 5 years with java) for a few months now, and most of that time was spent in vs.net beautiful IDE, but only one shortcoming - wont work in linux. i've went thru many hoops trying to trick it and got close. … | |
Below is a program that determines if one address comes before another address using classes. One constructor takes an apartment parameter and the other doesn't. My errors are invalid conversion from int to const and among others. Any ideas? [code]#include <iostream> #include <stdlib> using namespace std; class Address { public: … | |
Hi Anyone, I've made a web application, and now I want my web login by username and password as below but it's have got error('Login.WebForm1.DBConnection(string, string)': not all code paths return a value) anyone who can help me? [code] private bool DBConnection(string strUserName, string strPassword) { string LoginSQL; OleDbConnection MyConn … | |
[Microsoft VB.NET Step by Step by Microsoft Press] This book has some good things and some bad things. Unfortunately I personally found it to be lacking some of the more critical coding practices I was interested in. But at the same time it does have some good points. Good: -Good … |
The End.