132,726 Archived Topics
Remove Filter ![]() | |
i did save image to mysql by creating a field type longblob and saving it by converting the image into byte(). my problem is the image cannot be to big else it fails. can anybody help me in this. i can send the sample code if requieres. thanks | |
If I want to sort in descending order for exams.at (i).total.at(j) like this.. the output 1 34 2 56 3 21 and I want to cout the output 2 56 1 34 3 21 Is it must to use bubble sort or radix sort? [code=c++] #include <iostream> // std::cout #include … | |
Hello again. Before I begin I would like to offer my heartfelt gratitude to the DaniWeb community; this website truly is a wonderful resource for a new programmer such as myself, and the help and advice that I have received have been incredibly useful. I am currently working on a … | |
Dear all, I'm newbie in Java language. I get assingment from my teacher to create small project for my final test. Now, I create a Budget Controlling project using Netbeans. I have created main class, Login form, menu and MasterBudgetingGroup (addGroupAnggaran). In menu, I have menuItem. But when I click … Software Development java java-netbeans java-swing | |
Dear all, Do you know what properties should I set to hide Min & Max button in JFrame. I use Netbeans editor to create login form. Thanks, Kusno. Software Development java | |
can any one help me in the following problem i have created a exe file in visual basic. in my application if i click a command box a excel file will open. the excel file is accessible in my system. but if the exe file is executed in any other … Software Development visual-basic | |
Hi I want to be able to find out the int (or float) value of a variable whoose name is in another string variable [QUOTE]int x = 10; String var = "x"; System.out.println(Integer.valueOf(var).intValue());[/QUOTE] I want 10 to be printed but all I get is : [QUOTE]Exception in thread "main" java.lang.NumberFormatException: … Software Development java | |
Hi , I'm new to programming, I wanted to know if knowledge of C++ is enough to build a program that makes modifications in the system , like [URL="http://www.tune-up.com/"]Tuneup Utilites[/URL] program that repair registry errors, or check for hard disk failures , format it and check the mbr ...or it … Software Development c++ | |
Lets say I have a text file which contains a long list of 8bits data and i want to create a .wav or .au file from it. Forexample, my text file contains 8000 bytes for 1 second of audio with the sample rate of 8kHz. How do I create a … Software Development audio c# file-system | |
[code] #include <iostream> using namespace std; const int queue_size = 1000; class queue { private: // array containing queue elements char data [queue_size]; char *front, // index of the front of the queue // indexes 1 before actual front element *rear; // index of the rear element in the queue … | |
I need to make a method that receives the matrix values as a string as [code=c#]"[ 1/4 1/3 1/2 ; 2/3 1/5 2/5 ; 1/6 1/5 7/8 ] "[/code] and initializes the matrix ( ex. “[ 1/4 1/3 1/2 ; 2/3 1/5 2/5 ; 1/6 1/5 7/8 ] “) I … Software Development | |
dear all friends i am a newcomer, i have a basic questions, i already read one book of openGL, couldn't understand well. my question is how to create a cube and map a texture to it, anyone give me some explanation of work principle to handle this? thanks a lot. … | |
Hi guys, Ok so I need to use pointer syntax for the functions init-costs(), show-costs() and toUpper() in the following code. I'm still working on the first two, but I'm curious as to what needs to be done to the toUpper() function. I'm pretty sure I've already done the pointer … Software Development c | |
[B]can any one tell me what is socket descriptor in socket programming in c.[/B] Software Development c socket-programming | |
I wonder, I have a CheckedListBox and on the properties you can choose "MultiColumn" and set this to True or False. What I wonder is if it is true that CheckedListBox can have for example 5 columns because when I set this to true you can´t see that any columns … Software Development c++ | |
well, my assignment is to create a program that will compute a square root of a number without using the sqrt() function in the cmath lib. here is the direct assignment guideline. [url]http://community.tncc.edu/faculty/lewis/csc201/pdf/lab4b.pdf[/url] and my program is about 95% written out (minus the comments)... but it keeps getting stuck in … | |
Hi guys, i need help extracting e-mail id from the text file can anybody please tell me how can i extract e-mail id and store it in a vaiable using perl regex. (e-mail id is not always bound to end with .com) here is my text file: ****************************************** IQXpert 27(ID) … | |
Can somebody send me the basic book of Visual Basic if they have??? & if its possible to send on net...Send me on the below given Id-> [email]sonia.sardana@yahoo.co.in[/email] Software Development visual-basic | |
Hi, i need to make a [B]very[/B] large char array (char array[10000000]). How would I do this without getting a stack overflow error? Software Development c++ | |
I am totally new in biopython and its my first program.so may be i am asking stupid question. I am working with a text file.Every line in that file represents one amino acid,which has some value.But i need to separate those lines which has a value between 10 to 22.how … Software Development python | |
The question means this: One bank is providing mobile services via GSM modem only for online banking registered customers.Here the customer can register for mobile services provided by Bank through his online bankig account.When he registered for these services successfully (i.e. he successfully enterd all the fields of the reg … | |
Hey! I'm currently doing my thesis work in C# where I'm writing a program for a certain company. I have a little problem with resizeing my program for different screen resolutions. I don't relly know how to do this. My current resolution is 1280x1024 and that's what I've designed the … Software Development | |
HI, I have made a menu with two menu Items Colors Size. Colors will further have the submenu Items--> FillColor Exit FillColor will further have-->Red,Green,Blue Size --> Small , Large If i write the foll. code--> [B]Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single) … Software Development visual-basic | |
I made a hotel software and connected it to a access database created using the visual data manager. The software runs very well but when records in a table for daily stock taking reaches around 2000 the software starts messing up with my table. I am suspecting that the table … Software Development visual-basic | |
hi there .. whats wrong with th e following code? [code=c] #include<mpi.h> #include<stdio.h> #include<math.h> void main(int argc, char **argv) { int rank, row, i, j,s,p ; int n; int oldrow,oldcol,newrow,newcol; MPI_Status status; int z; int delta_x,delta_y; int temp_map[60][40]; int map[60][40]; int col; z=oldrow,oldcol,newrow,newcol; temp_map=0; map=0; printf("pls enter the row value\n"); … Software Development c | |
I currently have a program using keyboard input from the user, but am trying to replace keyboard input with onscreen buttons. Does anyone have any information on the best way to do this? I've pasted the code file involved with this (there are other files in the program). I'm not … Software Development audio java java-swing | |
im building a telephone directory. and the code is given below. i am using file system to store the record which i get from the user. and then i should be able to do searching, deleting, sorting and other default telephone dir functions. so far i have been able to … | |
Hello, Yes, I am a new C++ student and yes I have tried looking for this topic already. I'm very interested to know if there is a way to create a text array that would produce random output akin to a magic 8 ball? Here's what I want to do... … Software Development c++ | |
i want my program able to change cursor at runtime. give a hand pleasee.... thanks all... Software Development visual-basic | |
Hello! :) I'm having some trouble including header files in my project. This is my three files: main.cpp: [code=c++] #include <iostream> #include <string> #include "functions.h" using namespace std; int main() {}[/code] functions.h: [code=c++] #include <iostream> #include <string> using namespace std; void functionSplit(string str);[/code] functions.cpp: [code=c++] #include "functions.h" using namespace std; … Software Development c++ visual-studio | |
Hey I'm building a application and using JTree to navigate between the functions. This is working but can't figure out how to set up the JTree to have different icons for each node. I can have one default icon that gets rendered to each node or set up an icon … Software Development java | |
My Friend tell me to using GetSystemInfo api function to get a couple information : - Number of procesor - ProcessorType - Low memory address -> MinimumApplicationAddress - High memory address -> MaximumApplicationAddress but i didn't know how to use this function. anyone know how to do this??? please help … Software Development api visual-basic | |
Hello All : I tried to write a simple program in C++ for encrypt a word using a keyword and a key depending on an alphabet ,for example keyword:HELO Key : D I want to genrate the cipher alphabet by puts the positions of letters of the keyword(HELO) in the … Software Development c++ | |
how i can get all drive in my computer? does anyone know how to get it?? Thanks. Software Development visual-basic | |
Hi all, i'm reading a file path from a serevr & going to read the contents in that file. i created a ifstream object.but the problem is if the file path is c:\txt.txt,it doesn't read it as a file path.it reads \t as the tab.Is there any way to avoid … Software Development c++ | |
I am filling a char array 2 bytes at a time. I want to now add an integer that can be up to 4 bytes. Is there an easy way to split this integer into 2, 2 byte chars? For example 2200 into 0x08 and 0x98? Thanks. Software Development c++ | |
Hello Everyone , I am writing a code in which i search a char array and look at what is missing in the array i mean what letters are missing in the array. I worked out a small code but i seem to have some error in the answer though … Software Development c++ | |
Hi .... i'm getting the following error " 'buildListForward undeclared' when trying to compile this program. Please help ! [code=cplusplus] //Linked lists //Pg.288 #include <iostream> using namespace std; nodeType* buildListForward(); int main() { buildListForward(); nodeType* buildListForward() { nodeType *first, *newnode, *last; int num; cout << "Enter a list of integers … Software Development c++ linked-list | |
| |
Loader error (0000): unrecognized error i get this error message when ever i start the Turbo C++ 4.0j IDE. What could be the problem? i tried reinstalling the software but in vain. it was working fine though before. | |
[code=cplusplus] #include <iostream> #include <vector> using namespace std; class ctcChanID { public: void GetInfo(ctcChanID *m); int chanID; int type; string DN; int clientID; }; void ctcChanID::GetInfo(ctcChanID *m) { } int main() { vector<ctcChanID*> _ctc; for(int i = 0; i < 2 ; i++) { ctcChanID *a = new ctcChanID; cout … Software Development c++ | |
I understand that title was rather vague, but it still holds true. Lurking these forums I have noticed how incomplete my 2 year education on C++ really is, and I am asking for your help in area's, maybe just pointing me to some resources, etc. First off i am using … | |
If you could help I'll be very grateful! Someone suggested FtoC, but I duno... Software Development c++ | |
AYBODY KNOWS WHY THIS PROGRAM IS ABNORMAL? [code=C++] #include <iostream> // std::cout #include <fstream> #include <iomanip> #include <string> // std::string #include <vector> // std::vector<> #include <algorithm> //std::for each() using namespace std; // import "std" namespace into global namespace struct exam { string examid; vector <int> total; }; int myfile; int … | |
I can't seem to figure out why it keeps repeating level one anyone got a suggestion on how to fix it? [CODE=cplusplus]#include <iostream.h> #include <stdio.h> #include <windows.h> #include <stdlib.h> #include <conio.h> #include <ctype.h> int mx=14; int my=1; int i, j; char direction = ' '; char facing = 'S'; char … Software Development c++ | |
In vb.net no form is MDI,any form can ve made MDI by setting IsmdiContainer property to true. But in Vb we add the MDI Form. In Vb.net Form1_click dim obj as new form1 obj.show() obj.mdiparent =me But in VB,i write dim obj as new form1 obj.show obj. but there is … Software Development vb.net visual-basic | |
![]() | Hey guys, I'm looking to make some pulsing LEDs and I believe PWM is the way to do it, I'm new to ASM and don't really know how it works. Datasheet is like reading chinese to me. Could anyone please help me out with how to get started? Software Development assembly |
Hi, I'm trying to make a makefile but after i enter the command make makefile it says nothing to be made in the makefile, can someone please help me? Nd.c depends on Pd.h Pd.c depends on Pd.h Md.c depends on md.h md.h depends on Rd.h # Makefile CC = gcc … Software Development c | |
I've written a program to produce a random sentence. I'm having trouble converting the first letter of the first word into uppercase. Don't know where to go from here. Can anyone help? [CODE=cplusplus] #include <stdio.h> #include <string.h> #include <time.h> #include <stdlib.h> #include <ctype.h> void firstword( char *article[5], char *sentence[6]); void … Software Development c++ |
The End.