49,761 Topics

Member Avatar for
Member Avatar for nustian

salam, i want to change my C++ code to UML model. How can i do so is there any software. please tell me. thanx.

Member Avatar for ithelp
0
60
Member Avatar for deostroll
Member Avatar for Aseem_Pandey

can long long store 12 digit numbers. Its showing in my comp that limit of long long is 9223372036854775807, but then it's showing too large when i declare it like this: long long num; i don't want to store in array. My seniors told that long long will do but …

Member Avatar for siddhant3s
0
267
Member Avatar for jesseb07

hello, got a quick question regarding stack overflow (I honestly don't know if this is more suited for a wxWidgets forum, once you see what I mean, but I figured I'd try here first). I was tweaking my linked list class and testing it in a testing harness program I …

Member Avatar for jesseb07
0
258
Member Avatar for yun

Stanford cs249a Meterial (Object-Oriented Programming from a Modeling and Simulation) -------------------------------------------------------------------------------- From where i can get the below Meterial?? if any one have the below plz send me or give me a link... i really need these lectures.. Thx & regards. Required Reading Chapter 1: Software Husbandry and Software Development …

Member Avatar for Stinomus
0
432
Member Avatar for NathanOliver

Hi i am building a program that will take the text of a supplied file and encrypt using a password then save the encrypted text in another file. To decrypt the file you must provide the same password used to create the file. the program encrypts the text at a …

Member Avatar for NathanOliver
0
149
Member Avatar for alka123456

I have got a log file as follows The log file has the following format : Date/Time, Severity, Module(the number after the process name is the process id) and finally the diagnostic message as an example : dd/mm/yyyy HH:mm:ss.mmm Severity Module Message ======================= ======== ====== ======= 17-11-2008 17:01:17.590 SUCCESS wmlumberjack.exe:940 System …

Member Avatar for NathanOliver
0
236
Member Avatar for theashman88

Alright so I'm trying to insert a few superscripts into a program. I'm working to try and recreate a math problem. I tried googling how to insert superscripts, then tried how to insert Unicode into a console application, but I didn't get much luck. Anyone have any ideas. By the …

Member Avatar for theashman88
0
121
Member Avatar for daino

When initializing a constant data member in a given class with a constructor, does the act of initializing that constant data member (providing it with a value) actually stop you from assigning it the value you wanted to give it later on in the program? My understanding is that a …

Member Avatar for dwks
0
162
Member Avatar for vanalex

Hello everybody! Recently while i was experimenting with some code written in c++ i noticed something that confused me a bit. In that code i had to deal with 2 structs : [code]struct date { string day; int month; int dday; int year; }; [/code] and the other struct [code]struct …

Member Avatar for iJimJones
0
128
Member Avatar for horiya

hi! i need help with my code...i dont have any syntax errorrs but when i run it it doensnt run!! i dont kno what to do!! plss i really need help!!! i have to write code tht uses array to store student information and calculate the average, letter grade. i …

Member Avatar for tux4life
0
129
Member Avatar for mathueie
Member Avatar for martin_jj

Hello, Please, do you know how to implement RSA/ECB/Pkcs1Padding encryption witn non-exportable private key in CryptoAPI? I have only a handle to my private key. The result should be exactly the same as java Cipher implementation of this algorithm does. CryptoAPI always gives me different result. I've tried many ways …

0
58
Member Avatar for colmcy1

Hey all, I have just updated to MS VS 2008 Pro. I am having some cross over problems from MS VC 6. Below is a simple example: [CODE]#include<afx.h> #include<iostream> using namespace std; int main() { CString s; CString sa("Strings "); CString sb = CString("are easy "); CString sc = "in …

Member Avatar for colmcy1
0
795
Member Avatar for Usura

could someone please point me to a link on how to convert my char* temp = new char[3]; to a char test[3]?

Member Avatar for Ancient Dragon
0
67
Member Avatar for shinkelwars

Hi guys, My employer has given me a mission to find a robust and scalable API for C++ that allows for easy programming of client / server systems. In this case the application they intend to build involves thousands of clients sending data continuously to a central server (the data …

Member Avatar for Ancient Dragon
0
148
Member Avatar for kabeer62

there are blanks in the question as the pro gramme need some codes and definitions to get completed. Please help me in completing this problem. than x in advance. [code=cplusplus] #include <iostream.h> #include <conio.h> #include <fstream.h> //---------------function prototypes----------------------------------------- int menu(); void screenHold(); void enter(); void report(); void save(); void load(); …

Member Avatar for KuriYokan
0
118
Member Avatar for clisen

Hey everyone, I'm trying to create a string inside a class, but for some reason, my compiler is not recognizing: [CODE] class ob { string name("Name"); public: //code } [/CODE] error C2059: syntax error : 'string' This class is being written in a header file, which has #include <string>. Now, …

Member Avatar for clisen
0
129
Member Avatar for fadia

This is my CS101 final project i have to make a whole programe by myself. its a programe for a flight agency its still incomplete, i knwo it still needs alot of work but i keep getting 4 errors when compailing i want to solve them so i can move …

Member Avatar for ithelp
0
125
Member Avatar for timb89

[code] void deleteNegative(queue <int> &q) { queue <int> temp; if (!q.empty()) { int x = q.front(); if (x >= 0) { temp.push(x); q.pop(); } else { q.pop(); } } while(!temp.empty()) { q.push(temp.front()); temp.pop(); } } [/code] just afunction that returns a queue without the negatives in the same order. unsure …

Member Avatar for Sky Diploma
0
74
Member Avatar for andonyan

Hi everyone, im fairly new to programming and i'm having problems solving my homework. My assignment is: Define a class Quadratic that stores the coefficients of a quadratic polynomial in a dynamically allocated array of doubles. Supply the "big three" memory management functions. Use this class to demonstrate (a) the …

Member Avatar for Sky Diploma
0
320
Member Avatar for Aseem_Pandey

I am stuck with a unique problem. We have to find the sum of digits in 2^1000. The code below is giving correct output. However when I change the value of digit from 1000 to anything <=604, It shows wrong output. The number of digit in 2^1000 is 302 and …

Member Avatar for Aseem_Pandey
0
257
Member Avatar for KuriYokan

Hi guys. I'm pretty new here. I was recently playing around with templates and found them to be really useful. I was wondering how I could check the data type of the variable that was passed into the function, and I heard about RTTI from my friends. I've looked around …

Member Avatar for KuriYokan
0
137
Member Avatar for nadith_cs

plz let me know how to store the respond and take some logical actions upon it in visual STUDIO windows form application wht's the code for it; note that msdn suggest that it should be MessageBox::Show(" text here ", ,MessageBoxButtons::YesNo )==DialogResult::Yes but it's not working; DialogResult only has get() and …

Member Avatar for Nicklorion
0
197
Member Avatar for iammfa

hi, i'm using vc++ 2008 express edition to build my small exercises projects, building solution ok, no errors no warns, my problem started after i tried build my project, , the problem is the path of .exe project application, vc++ create it in path " D:\", although my folder "release" …

Member Avatar for iammfa
0
95
Member Avatar for protjaart

hi i am truly just a student at this time soon to be the worlds best programmer there is just this one hickup with my studies i am trying to learn the c++ visual studio 2008 as part of my current course i am taking and every thing went well …

Member Avatar for protjaart
0
121
Member Avatar for KickAss2k1

I have a text file that (partial snippet) looks like the following: Bugs Bunny Jr. 1234 1001.01 Porky Pig 2345 1002.02 Its format is a name (including spaces) is 20 characters, then 4 digit number, a space, and a number thats not a set number of characters. I have to …

Member Avatar for ArkM
0
245
Member Avatar for Usura

Could anyone please show me howi can assign a char* pointer[2] to a char temp[2]? been looking around can i cant find any examples of this

Member Avatar for tux4life
0
79
Member Avatar for ogwiz

Hi all, I'm having some trouble with my program, I know my copy and my clone function is correct, basically I just need to create the functions to achieve the desired result. Here is my code so far [code=c] #include <stdio.h> #include <stdlib.h> // helpers size_t length(const char *s) { …

Member Avatar for ArkM
2
104
Member Avatar for azjherben
Member Avatar for Lerner
0
86

The End.