199,114 Archived Topics
Remove Filter ![]() | |
I have the problem of splitting the the table into following way. Pl help me in doing it Actual table Product Id ProductQty CompCapacity 1 8000 5000 2 10000 5000 4000 4000 Resultant table Product Id ProductQty CompCapacity 2 5000 5000 2 5000 5000 1 4000 4000 1 4000 4000 | |
I've got a question...we all know double arrays a[100][100], but how to change it into linked list or like" linked list to linked list" that we could transfer data like in a double array a[i][j]? 12345.... 2 3 . . . Ideas? Graph>weighted>minimal tree>neighborhood list(yes normally matrix, but i need … | |
I am having a problem trying to divide a number. So in my in my program I have a number and I want it to divide it by 10. The problem is that the result is going to be decimal. I run my program I put the number it divdes … | |
Question: Write a program that draws a clock face with a time that the user enters in two text fields (one for the hours, one for the minutes). I have Followed my example code, and come up with 3 classes. Clock, which sets the outines for drawing clock objects, ClockViewerFrame … | |
I want to delete a Folder that consist of .txt Files. I am trying with this code below but the member :: Delete says that it only can emty an emty folder but this folder contains .txt files. So I wonder what other technique could be used ? [code] System::IO::Directory::Delete( … | |
| |
Hello, I've got a question how to change this function, because it should read f.e. two lines: 33333n5rr door 3333is closed 3333333 n5rrr [COLOR="Red"]nanana[/COLOR] tt4tt [COLOR="Red"]wall[/COLOR] t6tt6t then transform to: nrr dooris closed nrrr tt[COLOR="red"]nanana[/COLOR]tt t[COLOR="red"]wall[/COLOR]tt[COLOR="red"]wall[/COLOR]t (writing word instead of a digit was: nice ttt5555ttt //to: ttt[COLOR="red"]nice[/COLOR]ttt,deleting digits in first … | |
I need help with a RetailStore class. The class is supposed to do this Design and implement a class named RetailStore that holds data about an item in a retail store. The class should have the following private data members: 1. name - a string that holds the name of … | |
I am wondering if there is a way to read an audio file to determine when the beat is greater than a given Hz? Such as every time the bass drum hits it will tell me. I do not have any code yet, I know how to play a simple … | |
Hi All, I have a question and can't seem to find a answer anywhere. A normal function can void or return a object. [CODE] public void CoolFunction() { [INDENT]//Some Code[/INDENT] }[/CODE] I know you can do this. [CODE] public int ReturnOneObject() { [INDENT]return intNumber[/INDENT] }[/CODE] What I can't find or … | |
This might be a simple fix but I am developing an asp.net website in vs 2008 for some strange reason all of my separate aspx files are now formating at the same time. When I change something in design view in one file the other changes automatically I am new … | |
This code Gets the last Write Time from a .txt file. My Question here. [B]1.[/B] When doing that operation. Will this file be opened or is the file closed ? [B]2. [/B]If the file was opened will the file Close automatically after the Check ? [code] CurrentSourceTime = System::IO::File::GetLastWriteTime(SourcePath); [/code] … | |
I am trying to setup a classifieds script. I think I am getting close, but I have one issue. When I try to open the page, it opens but only displays the first part of the page. If you visit [url]www.clairson.com/ocalads[/url] you can see what it is doing. If you … | |
hi all, Is there a code where i can check from all the existing tables if a certain variables exist in it? I am currently working on a project but the tables are not linked properly, having a hard time trying to find out how many tables actually have the … | |
Hi Guys, I am self studying BASH, and will really appreciate it if you could share a list of typical assignments, especially if you can rate them from easy to hard. Just want to practice, and I have already scripted everything I needed to on my servers :) Thanks | |
i used vi: %vi shellProgramming and then i typed the shell script in the vi and saved with :wq However, when i run the vi file ...... %shellProgramming my unix says "command not found" why is that? and how do i run the vi shell scripting file? thanks | |
okay I need to write a program that will basically be pulling strings from a text file based on what the user inputs. I can make a program run that gets the text file to input to the screen but I am having trouble with jumping around the file. example: … | |
Hey guys, if im trying to parse a xsd file using the schema class how can i get the simpletype restrictions for a select attribute which i have already found. so if its an enumeration type get the values, or if the patters in [a-zA-Z0-9] to get that. [Code=C#] public … | |
i want to refresh database(sql server 2005) instantly using c# if anyone does know about the code to solve it please reply me | |
I'm starting writing class that should read configuration file and initialize some members with data from file. I decided to read this file in constructor. What should constructor do, if something goes wrong, and further construction of object have no sense? For now it displays message: [code] MultiReader::MultiReader(const char* m_sPath) … | |
Hi all, Just a general question, if someone asks you to provide a) description of source code b) how to run the program how do you write this? I'm currently taking a C programming course as a beginner and these were ask of me to do. Any help would be … | |
The following is my code. I am just getting started in C++ so there are few concepts I am still stuck on. This program works well except for one issue – the data type is integer but it is not catching decimal numbers. In my other programs this worked but … | |
Hello. I asked last week about how to allow the user to only enter in letters. I tried the mask formatter but that's too limited. How can I go about letting the user to enter in any kind of letters they want but restricted to only 25 letters for their … | |
Hi, I'm trying to write a program using named pipes, and I'm having trouble opening it. In another program I call this line: [code] mkfifo("./fife", 0777); [/code] So my named pipe exists and I see it in my list of files. Then I run the program I included below, but … | |
I need to write a program that read of input a number N numbric & calculate N! that's number (should be simulator of multiply into program because us want number N ) & should be Number of character for e.g char s[20]. | |
Hi... I saw a simmilar problem in this forum, but now i have a new problem.... I want to read string from a txt file: "myfile.txt"..... inside the file: "i want to read this text". then I write: [code=c] LRESULT CALLBACK WindowProcedure(HWND hwnd.... HDC hDC; PAINTSTRUCT Ps; HANDLE hFile; DWORD … | |
Hi everyone, I hope all are fine. Is there have anyone who knows about shorting a table whose containers are uploaded from the database. Please help:icon_eek: | |
Hi. I was given the task to create an internal website in our company, which will update (feed) from a database (they were talking MySQL). I have no idea if that is possible and what to google for. My first guess was if it is possible it's using php. You … | |
Hey guys, I need to write a C++ program that use to compare sorting algorithm. I've tried to implement counter on each of <.>, = operations I've encounter in the function (currently i am working on selection sort), however the sum of the counter doesn't really match big O selection … | |
hey guys. ive been asked to do this: Write a recursive function which returns true if the linked list is sorted in ascending order. bool isSorted(nodeType *L) why would we use a recursive function to check if it's in ascending order? can anyone help me with this. | |
i'm trying to get the last word of the sentence using strtok.. i tried this :[CODE]while (tok != NULL) { tok = strtok (NULL, " "); if((tok != NULL) && (strtok(NULL, " ")==NULL)) printf("%s", tok); }[/CODE] kinda doesn't work... anyone knows why? Yes, tok is a char * pointer.. | |
Hi All, SELECT * FROM Results WHERE ActualValue NOT BETWEEN Lowerimit AND UpperLimit In my query ActualValue is VARCHAR field. How can I get Results that are out of limit? Shrinivas | |
![]() | Hey, I have just upgraded my C++ compiler from old [B]TurboC++[/B] to [B]CodeBlocks[/B] as per Salem's suggestion. [URL="http://www.daniweb.com/forums/post604085.html#post604085"](Check this post)[/URL] But I am finding difficult to work with this compiler for the basic reason of not knowing the in-built functions. Can you please help me with this by listing down … |
[B]I need a datagrid that has 4 columms & 2 rows. Each cell in that datagrid will represent one row from my database table.[/B] can someone plz giv me some sample code for that ? or any tips on how to achieve the same ?? | |
Hi, can someone to help me to write an regular expression for a number from 1-100. I need to validate an age field. Thank you | |
[code] //test SAT /* void initialize (int& verbal, int& writing, int& math) { verbal=0; writing=0; math=0; } void userInitialize (int& verbal, int& writing, int& math) { cout<<"Please enter your verbal score (0-800) "; cin>>verbal; cout<<endl; cout<<"Please enter your writing score (0-800)"; cin>>writing; cout<<endl; cout<<"Please enter your math score (0-800)"; cin>>math; … | |
Hello I have the following in a variable called TEST echo $TEST result : STEPHEN LTD What i want to do is find out whether there are any spaces in my variable name, and if so do the following STEPHEN%42LTD bascially put a %42 where the space is....any ideas? | |
i am trying to load the morsecode.txt into my tree struct but when i compile it i keep getting this errors error C2440: '=' : cannot convert from 'decode *' to 'int *'| error C2664: 'bintree<dataType>::insert' : cannot convert parameter 1 from 'int' to 'const decode &'| error C2676: binary … | |
I created a nbproject,webapplication,visual web java Server Faces Glashfish,deployed it.(netbeans6.1) I have written a couple of them and they do not show up in a browser. Below is the one I just started. Can someone explain what needs to be done to run this in a browser? [code] <%-- Document … | |
Hey! I need to write a compiler for a microcontroller I'm designing... I want to use MFC to check the Syntax. I created a project in wich the View is derived from the RichEditView, Can anyone help me get info on how I can accomplish this?? I need to check … | |
Im just beginning to learn c++ and this is about the second day. Just wondering what you guys think and ways of improvement, efficiency and such. Thanks guys! [CODE] /* Super Simple Calculator - Created By FTProtocol */ #include <iostream> #include <math.h> #include <stdio.h> #include <windows.h> #define nl '\n' int … | |
hello everyone, can anyone help in writing a perl script which automatically replaces the commands in a file(command file), with the new values. i have written a code but its not working properly. if anyone could help me plz. i am new to this scripting language. thanks in advance. Thanks … | |
Hi, I am writing a cgi script for a web database query "results" page and I need to display the results in an html table. My question: 'Is there a way to print out a list of words without the commas and the square brackets?' e.g if this is the … | |
Do you guys have any idea where I've gone wrong? [CODE] /* Super Simple Calculator V3.0 - Created By FTProtocol */ #include <iostream> #include <math.h> #include <stdio.h> #include <windows.h> #include <conio.h> #define nl '\n' #define PI 3.14159265 const double a=5; const double b=3; const double c=8; int x,y,choice; int ans=0; … | |
Hello everybody, I need to implement a circular buffer and im clue less . . .HELP me:'( | |
Let me ask you guys something what is the toughest type of Programming Language on techtalk? | |
[B]Hi, How to write a function that checks if the circle passes through given four points.. please answer this with code or just give me the logic and concept of writing this...[/B] | |
Does anyone how hot to do this: [img]http://i32.tinypic.com/35l9avq.jpg[/img] | |
Hi, I'm learning C++ programming and have to write a program that shows how to calculate tax rates for a business tha th as shops in 3 different cities with three different tax rates, using the printf function. Anyhelp I can get is appreciated. Keep in mind I am just … |
The End.