8,298 Topics

Member Avatar for
Member Avatar for ok555

Hi, I am still very new to C++ and need help with new/delete, I am posting what I wasn't able to find answers for on msn search or by myself after hours of testing.. 1. Am I using new/delete correctly? [code] char hehe[1024]; memset(hehe,0,sizeof(hehe)); sprintf(hehe,"Some Text"); char *testx; int testxlen …

Member Avatar for iamthwee
0
243
Member Avatar for rajkaC

Hi Every body I want to know how it is possible to connect to database whether it may be Oracle,Ms-Access.I am using Turboc2 Compiler and windows OS and i found something like ProC that is file extension as .pc in Oracle 9i is there any relation between these i want …

Member Avatar for Ancient Dragon
0
107
Member Avatar for MrLew

I am trying to write a program to convert a roman numeral to decimal. If I define a variable with: [inlinecode]char roman_num[15];[/inlinecode] can I then select individual characters in that roman numeral with: [inlinecode]roman=roman_num[i];[/inlinecode] where "i" is a number value of the character I want to retrieve from 0-14? Also, …

Member Avatar for Dave Sinkula
0
262
Member Avatar for Malcolm87
Member Avatar for ifti
0
118
Member Avatar for saman

HEYZ CAN ANYONE GUIDE ME WHCIH PROJECT TO TAKE UP IN C#.... THAT IS MARKS GAININ....NEED UR HELP DEAR PEOPLE OUT DERE...LOOKIN FORWARD FOR SOME NICE IDEAS N HELP RELATED TO THOSE IDEAS....REPLY SOOONNNNNNN :confused: :lol:

Member Avatar for alc6379
0
140
Member Avatar for lchamarthi

Hi Everybody! First of all i would like tell my sincere thanks to founder of this site and people sharing the information. I am Newbie to this forum & to C language too.. Now i want to start to learn C. Could any body suggest/send me some quick start & …

Member Avatar for SpS
0
181
Member Avatar for guino

Hi, can someone help me with a code sample? i want to create a .wav file with C#. :cry: Please .... Thanks! best regard

Member Avatar for gusano79
0
175
Member Avatar for Richard Lelle

I am trying to pass data from one form to another using session parameters. The second form says that my passed data fields are 'out of scope'. What does this mean?

Member Avatar for alc6379
0
106
Member Avatar for robase

I need some help to do the following Count all spaces written to the output file Count all alphabetic characters in the output file [code]include "stdafx.h" #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line; ifstream myfile ("checkIn.dat"); if (myfile.is_open()) { while (! myfile.eof() …

Member Avatar for HackWizz
0
100
Member Avatar for amrfalcon2004
Member Avatar for yibman

Hi i am a beginner in c# programming. Can anybody tell me what happens in the code lines for this class : [code][COLOR=#0000ff]using [/COLOR][COLOR=#000000]System;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Collections.Generic;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] System.Text;[/COLOR] [COLOR=#0000ff]using[/COLOR][COLOR=#000000] Wilson.ORMapper;[/COLOR] [COLOR=#0000ff]namespace[/COLOR][COLOR=#000000] WindowsApplication3.Data[/COLOR] { [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]class[/COLOR] LogEntry : DataObject { [COLOR=#0000ff]public[/COLOR] [COLOR=#0000ff]int[/COLOR] referringID; [COLOR=#0000ff]private[/COLOR] [COLOR=#0000ff]string[/COLOR] type; [COLOR=#0000ff]private[/COLOR] DataObject owner; [COLOR=#0000ff]private[/COLOR] [COLOR=#0000ff]string[/COLOR] …

Member Avatar for alc6379
0
112
Member Avatar for rowin

Hi, I have a table called event in my database. I have 2 fields called Event_Id and Project_Id. I want to search the table to find out if there's event_id=27 for a project_id. Kind Regards, Rowin

0
85
Member Avatar for q8z
Member Avatar for ernie

Is there any real concern with using iostream.h and stdio.h in the same program? Sometimes I feel like printf, and sometimes I feel like cout.

Member Avatar for ernie
0
268
Member Avatar for Forsal

Hi everybody Can you please explain me the weakpoints of c++ language? I think it is very difficult to create GUI in C++, isn't it? I also would like to know is there any method to combine C++ program and Java Program.

Member Avatar for Ancient Dragon
0
236
Member Avatar for sargorath

Hi, Can anyone help with a project I'm working on I'm new to classes and I got really confused while trying to convert a simple console application in to a class file. I would appreciate some help if anyone willing to. Following is the code I am trying to convert …

Member Avatar for dude543
0
157
Member Avatar for rowin

Hi, Is it possible to set the value of a DateTimePicker to blank so that when you run the application there's no value in the DataTimePicker? Kind Regards, Rowin

0
72
Member Avatar for mani84

I am trying to update two related tables, so I created the code below. However, when the program runs the information is not updated to the DB and a message saying update unsucessful appears. Please could you help me, what am I doing wrong? [code] private [COLOR=#000000] [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] saveToolStripButton_Click([/COLOR][COLOR=#0000ff]object[/COLOR][COLOR=#000000] sender, …

0
153
Member Avatar for rowin

Hi, I have an C++ Builder application. I want to print a report with the values appearing in my application. I get these values from my database. I already have a crystal report format of how the report should be printed. How to do this? Kind Regards, Rowin

0
100
Member Avatar for stallion88

The first three people to complete this program will be entered into the annual contest for Top Coder! The grand prize is the chance to become one of TopCoders independent programmer. This is a special opportunity to get paid for programing projects that you create. Below is the program to …

Member Avatar for Rashakil Fol
0
553
Member Avatar for YoTaMiX

Hello to you all , Major problem in C , Files included Summary of problem : Program will not copy the feild "name" from struct "univ->std.name" properly. the rest of data is presented fairly. do not touch function "output_university" . Thank you , yotam , Israel .

Member Avatar for YoTaMiX
0
231
Member Avatar for pokahantos

Hi all, I am a beginer in VB.NET :rolleyes: .... now, i am working on a project so as usaul we wonder if we could do something .... etc. I write the whole application in VB.NET but i observed that i need to write a few line C# code inside …

Member Avatar for pokahantos
0
203
Member Avatar for Jon Campbell

Does anyone know where I can get technical information about developing HTTP applications in C++. I'm not talking about CGI, I mean the classes or functions that allow you to directly communicate on the web via HTTP without a web server.

Member Avatar for eCharisma
0
76
Member Avatar for Dark_Omen

Hey does anybody know how to make window forms using openGL in c sharp. Or know of a tutorial online, i've looked but turned up nothing useful, just that csGL is a good library to use for openGL projects. Thanks

Member Avatar for Dark_Omen
0
562
Member Avatar for bg123

I'm trying to do a program that takes two vectors and computes the alternating sum, appends the vectors, checks whether two vectors have the same elements in some order, ignoring multiplicities, and removes duplicates. Any help would be appreciated. [CODE] #include <iostream> #include <vector> using namespace std; /* Functions on …

Member Avatar for Bench
0
178
Member Avatar for blademaster

Does anyone have any idea how I would code this I'm having some trouble coding it, I would appreciate it very much if you could provide a code in C++. Been trying ot figure out this for couple days but keep getting syntax errors for some reason. 1.) let the …

Member Avatar for blademaster
0
63
Member Avatar for SharpOne

Hi, I've just started out learning C# / .NET at a fast rate. Then, I plan to look for company to get experience even if working for free. Any ideas or suggestions would be appreciated. Anyone know where I can gain experience when I learn enough without certification and only …

Member Avatar for Dani
0
63
Member Avatar for SharpOne

Hi, I've just started out learning C# / .NET at a fast rate. Then, I plan to look for company to get experience even if working for free. Any ideas or suggestions would be appreciated. Anyone know where I can gain experience when I learn enough without certification and only …

0
41
Member Avatar for Mr T.

I have been working on this code for a banking program I am trying put together. Trying to test my ability to grasp this stuff on my own. I am stuck on this part and maybe it is my non-math mind that is causing a block. Can someone help me …

Member Avatar for orko
0
188
Member Avatar for jamshid
Member Avatar for jamshid
0
171
Member Avatar for fiska

Hi, I was lately interested in creating dll from C++ and using the functions in C#, I've came across one tutorial where the guy is creating dll in C++ and using them in another c++ project with VS 2003. I've tried the same with my VS 2005 but I didn't …

Member Avatar for fiska
0
291
Member Avatar for YoTaMiX

Hello to you all , I have been assigned to in C to build a function which will take 2 strings and count (in recursive way) how many chars are alike (case sensitive). I have setup the main and also a function which recieves the input from user . I …

Member Avatar for YoTaMiX
0
179
Member Avatar for grunge man

A Nother Question What Are Classes And Is It Possible To Use A Class For Macking Pictures Or Shapes That You Can See?

Member Avatar for prof.thakur
0
200
Member Avatar for tiffani

:idea: :idea: hey, guys & experts :D i'm havin' a big pro now~~i can't past the test 3 now... i know i may hav a bug but seems too hard for me to find it out can anyone help me???seg fault... i hav asked many ppl but....plzzzz ====the file==== dict.cc …

Member Avatar for Narue
0
154
Member Avatar for rc_ashish

Hi, I want to change the font size of text in C language for printing text. Thanks in Advance. Ashish

Member Avatar for WolfPack
0
284
Member Avatar for Rrookkz

[U]Background:[/U] I'm running a custom built computer with a huge C drive and an even bigger D drive. Windows was installed on C and many programs, files, pictures, and documents were on D. I started having internet connection problems so I called the techs at Bellsouth several times. Each time …

0
76
Member Avatar for Gody

Hi freinds, I need your help regarding the following piece of code. public unsafe struct GUID { public int Data1; public System.UInt16 Data2; public System.UInt16 Data3; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 8)] public byte[] Data4; } When I build the code, I get the following error:- Usafe code may only appear if …

Member Avatar for SergioGP
0
311
Member Avatar for acezrwild817

C:\Documents and Settings\Andy M. Moore\My Documents\Visual Studio Projects\caller\trunk\OfflineRegistry\OfflineRegistry.cs(203,15): warning CS1591: Missing XML comment for publicly visible type or member 'SecondSec.SERC.Common.ContainerObjectModel.RegKeyContainer' What does this mean?

Member Avatar for SergioGP
0
158
Member Avatar for Duke_0064

Does anyone have any suggestions as to how I could better this code.(Not too fancy). I'm supposed to use a switch statement. I think the concept isn't bad. But some things are off as far as my opitions displaying correcly. [INLINECODE]#include <iostream> using namespace std; int main () { char …

Member Avatar for Ancient Dragon
0
148
Member Avatar for Duke_0064

Hello, I have this program here>> it's a random guessing number game. It works great the only thing I can't figure out, is how to display the [B]best score[/B] at the end of the Loops. The outer loop is suppose to keep track of the number of games played ( …

Member Avatar for dubeyprateek
0
150
Member Avatar for niteshq

Hello, Everybody. Myself is Nitesh. I have joined this group earlier. Please provide me ebook of C language. Thanking You, Nitesh

Member Avatar for iamthwee
0
34
Member Avatar for gampalu

Hi all! I´m having a problem, I'm reading from a txt file values (doubles) but my cout outputs the following: -9.25596e+061 -9.25596e+061 -9.25596e+061 -9.25596e+061 Press any key to continue When it should read this: 1.986772 2.607455 0.000000 0.000000 The code is: [CODE] #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <time.h> …

Member Avatar for gampalu
0
142
Member Avatar for Duke_0064

Hello, I have this for loop here, and everything is great except I can't figure out how to display 3 numbers per line instead of all number on one line. Can anyone help? Thanx! #include <iostream> using namespace std; [INLINECODE]int main( ) { int x; cout << "Numbers between 5 …

Member Avatar for Duke_0064
0
85
Member Avatar for Duke_0064

Hi, I'm new to this C++ stuff. So if anyone can help that would be nice. I have this program to generate a random number and a the user inputs a number from the keyboard to correctly guess the number that the computer randomly chooses. but the numbers are always …

Member Avatar for Duke_0064
0
107
Member Avatar for vurdlak

I started wrting c lessons for absoulute begginers to advanced users, I think material can be considered quality, and my students learn programming with this stuff. If you wish feel free to start reading it.Its only 8 lessons for now so maybe could be easier for you to start following …

Member Avatar for iamthwee
0
141
Member Avatar for nthompkins

Hello will someone please help!! Here is the assignment • Using a function with the header below, pass it arguments in main, alter ary1 contents and display ary2 contents in the function definition. Display the contents of ary1 in main after the function is called. void arrayTst(int ary1[], const int …

Member Avatar for nthompkins
0
186
Member Avatar for djbsabkcb

Below is my source code for a tictactoe program. However, my output after first move always states invalid choice, no matter what number I enter? [code] #include <iostream> #include <string> #include <cmath> using namespace std; class TicTacToe { public: TicTacToe(); // constructor int Pick_Player(); // member function int Pick_Row(); // …

Member Avatar for Narue
0
808
Member Avatar for shlinky

Hello. I am looking for a c library that emulates the double data type (64bit) with integers (32bit). it should have basic arithmetic functions like add, sub, mul and div. already searched the web, but no luck so far. hope you can help me, thanks.

Member Avatar for shlinky
0
155
Member Avatar for WolfPack

Can anybody please tell me what is wrong with this piece of code? [code] std::string query; std::cout << "Enter the Query String :";// Type something with spaces here. e.g ( "financial instruments being traded on the American stock exchange" ); while (std::cin >> query ) { std::cout << query <<std::endl; …

Member Avatar for WolfPack
0
365
Member Avatar for gampalu

Hi! I'm new in C++, but perhaps this is a general problem, not C++ exclusive. This is printed in my console, "-1.#IND", when using a printf, when this occurs? thanks

Member Avatar for Narue
0
248

The End.