132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zebanaqvi

When a language is created, then i think is the interpreter or compiler written. But how are the linked at the hardware level? How is a language understood by the machine? can anyone see the code in which C is written?

Software Development c
Member Avatar for Ancient Dragon
0
62
Member Avatar for c++noobie

Ok, I was trying to write a program that formats a plain text file to the formatting standards of gamefaqs.com (no trailing spaces and no more than 79 characters per line). To my eyes, my code looks perfectly fine and effective. If I run it with anything but a file …

Software Development c++ ios
Member Avatar for c++noobie
0
196
Member Avatar for sniper29

[SOLO] Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. The program should output the average high, average low, and the highest and lowest temperatures for the year. Your program must consist of the following functions: a. FunctiongetData:Thisfunctionreadsandstoresdatainthetwodimensionalarray. …

Software Development c++
Member Avatar for jephthah
0
492
Member Avatar for Sawamura

Hi all... I got problem here.. I want to search how much a certain characters in words in text box. Please help me to solve this...

Software Development vb.net
Member Avatar for Sawamura
0
256
Member Avatar for Derice

Hi, there. I am looking links and sources for studying and understand way to navigate around windows directories. This can be easily seen especially during software installation where user is able to change the installation path. Is it related to the CommonDialogAttach.* ? Please give me a helping hand for …

Software Development visual-basic
Member Avatar for Derice
0
75
Member Avatar for daviddoria

(see next post for the question about makefiles!) I have this line in ScanScene.h [code] bool ScanScene(LiDARScan &Scan, LiDARScanner &Scanner, vector<geom_Triangle> &Scene); [/code] and in ScanScene.cpp [code] bool ScanScene(LiDARScan &Scan, LiDARScanner &Scanner, vector<geom_Triangle> &Scene) { ... } [/code] then in another file, I [code] #include "ScanScene.h"; int main() { LiDARScan …

Software Development c++
Member Avatar for Duoas
0
158
Member Avatar for e_pech

I'm working with OpenGL and MFC. I'm able to output text on the view using glCallLists but I'd like to position the text on the screen. How can I do that? I'd appreciate any suggestions.. thanks!

Software Development c++ opengl
Member Avatar for Duoas
0
250
Member Avatar for prashant.jnu

Dear all , I am not very much efficient in perl . I used to write small script of code usually by using file handler . I have written a code for multplication of 2*3 matrix . I want to use this code efficiently so that it can be any …

Software Development matrix-multiplication os-x perl
Member Avatar for KevinADC
0
149
Member Avatar for Alex Edwards

Okay so I have a program that tests for collisions using a complicated and 80% accurate method, but I want 100% accuracy. Like someone posted earlier about shapes colliding into each other, I realized that there will be cases where my method wont work. However, I've looked into a calculus …

Software Development api c++ file-stream
Member Avatar for Alex Edwards
0
132
Member Avatar for C41R0

after i added in my JTextArea, everything seem mess up, their position have already run away, whats going on ? [CODE] import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.awt.event.*; import javax.swing.border.*; public class MainTabbed { JLabel locationLabel; JLabel divingTypeLabel; JLabel dateLabel; JLabel maxDepthLabel; JLabel averageDepthLabel; JLabel fBuddyLabel; JLabel sBuddyLabel; JLabel …

Software Development java java-swing
Member Avatar for C41R0
0
306
Member Avatar for SakisLam

Let's say I have the integers A1,A2,A3 and x. I want when the value of x is 2 (for example) , the caption of a label to return A2's value. If x = 3, to return A3 value and so on. How do I do that? Thanks a lot.

Software Development c++
Member Avatar for Tigran
0
96
Member Avatar for kux

what method is to be used to get the selected row in a CListCtrl ? i tryed GetCount() but it returnes the number of selected items i searched the method list, but found no GetRow() or something thx in advance

Software Development c++
Member Avatar for Ancient Dragon
0
241
Member Avatar for Tigran

Hi guys, As my first post, i'd like to post something usefull instead of "Hi, i'm new here". The reason for this topic is because i don't understand a few things, mostly about classes. Here are the things i don't understand: 1) Why do some people set a "_" before …

Software Development c++
Member Avatar for Alex Edwards
0
231
Member Avatar for SakisLam

Is there a way to copy the image's data (the actual picture) to another image? I am using Borland C++ Builder. Thanks a lot.

Software Development c++ image
Member Avatar for Tigran
0
99
Member Avatar for daviddoria

Is there a way to check for a keypress every time through a loop without forcing a key to be pressed. ie. if you use scanf, the loop will not continue unless a key is pressed. I'd like to say "if a key was pressed, handle it. If not, keep …

Software Development c++
Member Avatar for Ancient Dragon
0
82
Member Avatar for Naruse

How can i detect mouse button clicked? does i have to use api function?

Software Development api vb.net
Member Avatar for Jx_Man
0
237
Member Avatar for narendharg

Hello, I would request you to give some information regarding FLOAT CODE. With Regards Narendhar.G

Software Development c
Member Avatar for Aia
0
133
Member Avatar for Vega_Knight

help me to make a factorial function. Please help. any help will appreciated much...

Software Development vb.net
Member Avatar for Jx_Man
0
137
Member Avatar for timbo2000

I have a program that has several header files in a folder. Is there a way I can have the program automatically search through this folder whenever the particular .h is called?

Software Development c++
Member Avatar for timbo2000
0
93
Member Avatar for Jishnu

Hello, I'm getting a compile-time error in jdk1.2.1 which says "Identifier expected" and points to this line in the code: [CODE]Vector<Fish> fishes = new Vector<Fish>();[/CODE] Aren't vectors supported in jdk1.2.1? I'm unable to catch the problem.

Software Development java
Member Avatar for Jishnu
0
101
Member Avatar for SubProf

Hello everyone, I have a question regarding the web browser in visual studio 2005. At the moment I have a web browser that navigates to the URL that I have typed into the combobox when the 'GO' button is pressed. I'm wondering is it possible to extract specific links from …

Software Development visual-studio web-browser
Member Avatar for SubProf
0
83
Member Avatar for x2per14

can any1 help me to connect my project to ms access database. i'm a newbie in vb.net. this is my code in vb6 to connect to the database can any1 help me to do it vb.net..hope sumbody can help me.. this is how i do it in vb 6 1. …

Software Development microsoft-access open-source vb.net
Member Avatar for Jx_Man
0
156
Member Avatar for fddrummer06

I am currently taking a class in C online and I have a homework assignment to create a random sentence generator with arrays of specific words. I have the random part working, but I am unsure as to how to capitalize the first letter of the first word in the …

Software Development c
Member Avatar for jephthah
0
785
Member Avatar for mariaczi_pl

binary '+' : 'System::Int32 ^' does not define this operator or a conversion to a type acceptable to the predefined operator. I have this error in this line : [code] Account = Account + 100; [/code] Account is pointer to Account i main class. some stange is this, that this …

Software Development c++
Member Avatar for Ancient Dragon
0
240
Member Avatar for Nematoad

hey Guys and Gals, There has been lots of discussion about fopen64, fseek64 and fread64 functions in C / C++ and Linux. So Far no one has produced anything useful. Just lots of false rumors. Anyone see an implementation that I can use right now? I need it for RHEL …

Software Development c++
Member Avatar for jephthah
0
133
Member Avatar for lllllIllIlllI

Hi I am making a program that collects data and then saves it to a text file. Then i want it to print the text file on a Network Printer and i was wondering how i would go about doing that?

Software Development printer python
Member Avatar for Ene Uran
0
93
Member Avatar for gctarzana

Hello , I'm having trouble with a C++ assignment. We're supposed to create an inventory program for keeping track of books, CDs and DVDs. We are supposed to use an abstract class InventoryItem, and classes Book, CD, DVD. Also a class Inventory will contain all the functions needed to enter …

Software Development c c# c++
Member Avatar for Sky Diploma
0
2K
Member Avatar for swathi.ch

Hi 2 all, How to upload .doc file into SQLSERVER2005 in c# windows application and again how to retrive it from DataBase...... I want it only in Windows..... Advace Thnxxxx

Software Development c#
Member Avatar for JerryShaw
0
227
Member Avatar for daviddoria

Anyone know where I can get an implementation of this? Some code to read in a set of vertices/triangles and then do some simple intersection tests? If you can point me in the right direction that'd be great! Thanks, Dave

Software Development c++
Member Avatar for Alex Edwards
0
224
Member Avatar for Traicey

Another assignment, another due date, another exams, thats how I describe my life these days Im trying to read a date from the user and compare it with the date in the file and if the date is foung I have to print some user details... so my problem is …

Software Development c++
Member Avatar for Radical Edward
0
126
Member Avatar for timdog345

I need to make a hangman game but I have code but it won't end the game even if you ges the word, and it won't show the gesses all at once. This is what I have [code] #include <iostream> using namespace std; int main() { char solution[20]; char blank[20]; …

Software Development c++ puzzle
Member Avatar for joshmo
0
144
Member Avatar for rpjanaka

Hi all, I want to just write a simple test case for a method which multiply two numbers. I am using the Linux platform. in the web ([URL="http://cpptest.sourceforge.net/tutorial.html"]http://cpptest.sourceforge.net/tutorial.html[/URL]) there are some examples. But I do not know what is the header file that should include. please can anyone help me...

Software Development c++
Member Avatar for daviddoria
0
168
Member Avatar for Frazinray

Hi guys I'm a fairly lightweight (in virtual world only, sigh) hobbyist who finds programming fascinating. I enjoyed teaching myself C++on my old machines. Bloodshed Dev C++ I found particularly robust and reasonably forgiving in older Windows OS. We recently switched to Linux for most of our machines and I …

Software Development c c# c++ windows-vista
Member Avatar for Ancient Dragon
0
105
Member Avatar for Aamit

[code]#include<windows.h> #include<stdio.h> #include<conio.h> int main() { system("mkdir c:\\Imp"); getch(); }[/code] How to check this Imp folder exists or not?? if exists not creating again??

Software Development c++
Member Avatar for Nick Evan
0
918
Member Avatar for ITKnight

does anyone know how to run any app that it write some vbscript or javascript or html from in vb???

Software Development javascript vb.net vbscript
Member Avatar for ITKnight
0
79
Member Avatar for Estella

[code]SearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND BTo = " & txtTo.Text Dim Con As New OleDbConnection(BCalc_ConnectionString) Dim Search As New OleDbCommand(SelectSearchString, Con)[/code] I want to stop users from being able to save a duplicate record in my Access database. I …

Software Development vb.net
Member Avatar for Estella
0
189
Member Avatar for mnbcxz

I need to implement a search function button to my project where you click an input button which asks you to input a ID number then displays the details of that record in a form. Thanks.

Software Development vb.net
Member Avatar for mnbcxz
0
137
Member Avatar for ambarisha.kn

The following program is giving error as follows. please get me the solution how to debug this error. Error: Debug Assertion Failed! Program: ... File: d:\program files\microsoft visual studio 8\vc\include\vector Line: 1556 Expression: ("this->_Mycont != NULL && this->_Myptr != NULL", 0) [code] #include<iostream> #include<vector> #include<deque> #include<list> #include<algorithm> #include<functional> #include "print.hpp" …

Software Development algorithm c++ visual-studio
Member Avatar for ambarisha.kn
0
171
Member Avatar for AnjaliAnuradha

I am having problem with sorting and need help with it. I have to sort the integers in an array and finally after sorting the index number of all the elements before sorting are to be preserved. I have used merge sort. The sorting is done but the index numbers …

Software Development c++
Member Avatar for mitrmkar
0
121
Member Avatar for peachslasher

Hi all, I am having trouble understanding BST recursive algorithm. Here is the code: [CODE] int maxDepth(struct node* node) { if (node==NULL) { return(0); } else { // compute the depth of each subtree int lDepth = maxDepth(node->left); int rDepth = maxDepth(node->right); // use the larger one if (lDepth > …

Software Development algorithm c++ data-structure
Member Avatar for Alex Edwards
0
118
Member Avatar for ambarisha.kn

I wrote the code for Arithmetic, relational and binary operations. Here i have intilaised all inputs. I want to give inputs from keyboard instead of intialisation or direct Push_back from loop. How to do this? Please check the following code and please help me to give inputs from keyboard. [code] …

Software Development algorithm c++
Member Avatar for Nick Evan
0
155
Member Avatar for sfurlow2

I was just curious; what exactly does the line cin.ignore(INT_MAX) actually do? I was always told to use it just to keep the program screen up when inputting something.

Software Development c++
Member Avatar for Nick Evan
0
115
Member Avatar for yajakin

Each time I start debugging my application in VB.net, I encounter this error. I couldn't go through the application any further. "The application failed to initialize properly (0xc0000005). Click on OK to terminate the application." :sad: What seems to be the problem?

Software Development perl vb.net
Member Avatar for Jx_Man
0
90
Member Avatar for lllllIllIlllI

Hi I have been doing text programming for a while now and i was going to start doing some graphical interfaces for my programs but i was wondering which one is the best for beginners and also what and ther advantages/disadvantages of each of them. Thanks

Software Development gui python
Member Avatar for lllllIllIlllI
0
549
Member Avatar for eparse

How can i actually detect the time as shown below? If the user select the data from the database between 2008/06/05 12:00:00 and 2008/06/06 12:00:00 and the database type is varchar? I can select that particular data out, but i need to further categorize it according to hours, like this: …

Software Development vb.net
Member Avatar for eparse
0
103
Member Avatar for orcboyx

Hello all, Does anyone have a good tutorial that explains how JFrame works and how it can be implemented?

Software Development java
Member Avatar for eranga262154
0
74
Member Avatar for eranga262154

Hi all, I have a disk file define as [CODE]TCHAR szTempFile[MAX_PATH];[/CODE] What I want to do is, read that file into memory stream. To a buffer. How can I do it.

Software Development c++ file-stream
Member Avatar for eranga262154
0
321
Member Avatar for blue_moon

This is my vB.NET assignment and i have no idea what it requires. I have not done this practical before b'cause the lecturer has not taught us about the joining the SQL in VB.NET and I'm seriously dont know how to do this......so i need help and pls do help …

Software Development sql vb.net
Member Avatar for Jx_Man
0
102
Member Avatar for LightSystem

I have a simple question. Is it possible for a C variable to have a user-defined name? Imagine this: I have a function lets call it: create_new It receives a string, lets call it: name[ ] So the function looks like this: [B]char create_new(char name[ ])[/B] My question is, can …

Software Development c
Member Avatar for Salem
0
77
Member Avatar for ku4n

This is my Default.aspx.cs using System; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { …

Software Development open-source xml
Member Avatar for ku4n
0
109

The End.