132,726 Archived Topics
Remove Filter ![]() | |
does anyone know where i can find a library for minimizing a function, given a set of parameters and contraints? (similar to Solver in Excel) i've searched around and found quantlib/solvers1d but am still at a lost of how to use it .. any help is appreciated, regards, Software Development c++ | |
It is not allowed to declare a variable of same structure type but it is allowed to declare a pointer. For example, [code] struct node { int a; struct node x; //not allowed struct node *pnext; //allowed }; [/code] My question is when we can declare a pointer of same … | |
greetings i'm not too sure if this is the correct place to ask for this in this particular forum i'm working on to make a USB PIC programmer. is it possible to modify the firmware for 16F628 used in Wisp628 board, so that it can be burnt into an 18F4550 … Software Development assembly | |
hi i really need help on making c++ problems about the long math problems like long addition,subtraction, multiplication and division i've only began learning awhile ago so i just needed some samples or algorythms for this, if not both would be appreciated, if not a link to some guides about … Software Development c++ | |
how to generate a state transition diagram in c.. give me the implementation steps Software Development c | |
Hello, Could some body help me how could i delete any duplicate or same record of the input ? This is my plan but i am not sure it si working with C++ or not :- My program will be pass "number" values to this function and the function will … Software Development c++ | |
I have written a program in c# for quick sort using multithreading. but the code has a problem. the array is not sorted properly. i think it is because the parent thread terminates soon before the child threads sort the array. i am attaching the code herewith. kindly help me.any … Software Development c c# c++ multithreading | |
Hi, I've c source code developed in 32-bit linux machine. Can I run it in 64-bit linux machine. Thank you. Santos Software Development c | |
Hi out there. I can't get the constructors in my header files to work. Here's a copy of my header file code: [code] #ifndef GUARD_PHEADER_H #define GUARD_PHEADER_H //The header file for the Person.cpp. //person_header.h #include <iostream> #include <string> //Person class declaration class Person { public: std::istream& read_surname(std::istream&); std::istream& read_name(std::istream&); std::istream& … Software Development c++ | |
Hi, I want to create an application like character map, for only specific characters, and extra features. There is quite a large problem in doing this though. I want to have controls whos captions have these special characters. However when I am creating this using my IDE, Pasting these characters … | |
I'm self-teaching myself C with a complete reference book. Unfortunately that means that the author assumes that the reader is familiar with fundamental concepts and doesn't bother commenting the code. Here is an unnecessarily obfuscated code excerpt demonstrating "the use of return statements" along with my attempt to understand what … Software Development c++ | |
I have an assignment that asks me to explain the "order of complexity" of an algorithm. Can anyone explain what that question means? Does that mean what happens first and so on? Thanks. | |
Below is my crazy program.What i want it to do is that it should take two arrays from the user;the 1st array should be the memo & the 2nd should be answers.These two arrays should be passed to function compare of the type bool.In compare the 2 arrays should be … Software Development c++ | |
actually i dont have complete concept about bigO notation that usually used to find time complexity my question is in bigO notation why we ignore constant for example f=100n we say that our algorithm has order of n time comlexity or order | |
Hi, I am new to this web site and new to C++ programming. I am still in school and learning everyday. I am not catching on to some things so I was wondering if one can Help me. My problem I am working right now has to do with averaging … Software Development c++ | |
Please help can you help me debug my code i cant display the result and the computation for sum is error... help me please :sad: [code] #include <stdio.h> int i,counter; float sum; struct cgrade { char course[50]; float credit[50]; float grade[50]; }; struct cgrade GPA[50]; main(){ printf("Enter number of courses … | |
Can anyone figure out why I get -9.032654e something from my biWeeklySalary function? [code] #ifndef EMPLOYEE_H #define EMPLOYEE_H #include "HireDate.h" #include <string> using std::string; class Employee { public: Employee(); Employee( const string &, const string &, const string &, const HireDate & ); ~Employee(); void setFirstName( const string & ); … Software Development c++ | |
i am a little bit confused about the actual usage of the find function of map i have say a vector<string> and i want to return the relative position (or iterator) of a key (of type string) in this vector. now, the find function accepts only one input which is … | |
I have instantiated an object, bob, and have an array with hours for each day bob has worked. When I try to call bob.biWeeklySalary( hours[] ) it doesn't work. I'm not really sure how to use the array here. The compiler just says that hours is an undeclared identifier. Your … Software Development c++ | |
I have executed the below programm on both C and C++ compiler and got different results [CODE]#include <stdio.h> int main() { const int a=10; int *p=(int*)(&a); *p = 20; printf("address of a=%u\t%d\n", &a,a); printf("address of p=%u\t%d\n", p,*p); return 0; } [/CODE] With C compiler I got the output address of … Software Development c++ | |
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. … Software Development c++ | |
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... Software Development c++ | |
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 … Software Development vb.net | |
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 … Software Development c++ data-structure visual-studio | |
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 … Software Development vb.net | |
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 … Software Development google | |
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; … Software Development c++ file-system | |
Hi, Is there anyone who know of any website that offer free interactive learning of java? TQ Software Development java | |
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... Software Development c++ | |
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 … Software Development c++ | |
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 … Software Development xml | |
[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 … Software Development visual-basic | |
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?? Software Development c++ | |
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 … Software Development file-system | |
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 Software Development visual-basic | |
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 … Software Development c++ | |
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 Software Development c | |
i want 2 use the ignore function 2 ignore some of my inputs data, but i dont know how i'm using C++ Software Development 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: { … Software Development c++ window-manager | |
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: … Software Development c++ | |
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 … Software Development c++ email visual-studio | |
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 … Software Development c++ | |
[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 … Software Development java | |
I wanted a pragram in C showing the working of various CPU scheduling algorithms like SJF, Round robin.priority etc. | |
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 … Software Development c++ | |
[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] Software Development first-post vb.net |
The End.