- Upvotes Received
- 16
- Posts with Upvotes
- 14
- Upvoting Members
- 13
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
22 - Computer and Systems Engineering Student - Interested in Embedded Systems and Web Development - Homebody :)
- Interests
- Web Development, Embedded Systems
So almost everyone who's been here for quite some time will relate to this nostalgic feeling like this once was an active populated city and now it's nearly a ghost town, it's somehow depressing for me to see old ruins and abandoned places and things, not sure about you. Anyway, … |
|
Hi folks! :D Hey, can you remember those? [URL="http://www.daniweb.com/hardware-and-software/pc-hardware/monitors-displays-and-video-cards/threads/1"]1[/URL] [URL="http://www.daniweb.com/community-center/daniweb-community-feedback/threads/2"]2[/URL] [URL="http://www.daniweb.com/community-center/geeks-lounge/threads/3"]3[/URL] And many others... :) I was just playing around the forum and checking very old threads, when this forum was just starting. ;) I wasn't a member then, because I joined this forum in 2009. So can you remember … |
|
Hello Daniwebers! I was just reading This C++0x Beginner Tutorial: http://www.daniweb.com/software-development/cpp/tutorials/373787/beginning-c0x-making-a-raii-class And I was confused by something: " `int_vector(int_vector& aV);` > Obviously, this type of constructor would allow the transfer of the resource, since the source object can be modified and put into an empty-state (or "zombie-state"). But there are … |
|
Re:
#include <iostream> #include <iomanip> #include <fstream> const int NUM_SURVEY=3; using namespace std; struct Survey { int IdentificationNumber; double annualIncome; int numberOfHouseMember; }; void getData(); void calculateAverage(); void findPoverty(); void printReport(); int main() { getData(); calculateAverage(); findPoverty(); printReport(); system("pause"); return 0; } void getData() { Survey Households[NUM_SURVEY]; int i; cout<<"------------Enter " … |
|
Re:
[CODE] USHORT * pInt = new USHORT; *pInt = 10; std::cout << "*pInt: " << *pInt << endl; long * pLong = new long; *pLong = 90000; std::cout << "*pLong: " << *pLong << endl; *pInt = 20; std::cout << "*pInt: " << *pInt << endl; delete pInt; *pInt = … |
|
Hi all! :) I'm really curious to know how fast can you type? Go here: [url]http://speedtest.10-fast-fingers.com/[/url] and test your speed. Let's make it a challenge - WHO Can type very fast? I scored 63 words per minute, are you faster than me? If yes, then show me! :) |
|
Re:
Hello every one! I am Lily Alex, I am new to this community and I have joined this forum because: • I want to share my opinions and views related to SEO and other things. • I have joined this forum to enhance my knowledge Hope I'll find this community … |
|
Re:
Hello, i was wondering how you would create a file association in c++ with the registry, in lua it would be something like this... [CODE] function File.SetAssociation(Ext, Exe, Icon, Long) local cKey = Long; Registry.SetValue(HKEY_CLASSES_ROOT, Ext, "", Key); Registry.SetValue(HKEY_CLASSES_ROOT, Key, "", Long); Registry.SetValue(HKEY_CLASSES_ROOT, Key.."\\DefaultIcon","",Icon..",0"); Registry.SetValue(HKEY_CLASSES_ROOT, Key.."\\shell\\open\\command", "", "\""..Exe.."\" \"%1\""); end … |
|
Re:
hi my friends i have project.& I have to do it untill saturday(18 july 2011) please help me :( in this program should be read text file & show it And percent occurrence of each letter is displayed(no diffrent between capital or small letter .example :a=A) The number of words … |
|
Re:
[CODE] int x; while(cin>>x) { cout<<"Yes"<<endl; } int y; while(cin>>y) { cout<<"Yes again"<<endl; } [/CODE] What I expected to happen is,that as long as I entered a number for x(in line 2)that block should be run and "Yes" must be printed. To get out of the 1st while loop I … |
|
|
Re:
Not so long ago firstPerson started what was a series of competition questions for the users. It was fun so I was thinking of doing another. I've always kind of been interested in A.I so I thought that would be a good place to start.This is probably a more advanced … |
Re:
Hey guys, I am curious about how many teen programers there are here. I am 16 and I have been hobby programming for about three(3) years now. I have looked around and I haven't found any forums for teen programers, but I know there are a fair number of teen … |
|
Re:
I am trying to write a program in c++. I have a file that contains thousands of numeric entries sorted into four columns. The structure of the data looks something like the following: 3 0.2 0.5 6.2 4 0.1 0.6 6.2 //Track 1 2 0.8 0.5 0.6 2 0.6 0.5 … |
|
Re:
Hi everyone. I am an undergraduate student of mechanical engineer and i am trying to make a program that will convert a decimal number to a binary one and a hexadecimal one using c . The problem is that i am not familiar with c at all. I am only … |
|
Re:
Hello guys, Do ++/-- are atomic operations in c++? Thanks |
|
Re:
Question : Please Copy array A into 1st portion of array F .assume float a[11], f[34]; im using compiler Borland 5.02, please tell me hows so far my code is correct? [CODE] #include<iostream> #include<conio> main() { float a[11],f[34]; int i; for (i=0;i<11;i++) { cin>>a[i]; } for (i=0;i<11;i++) { f[i]=a[i]; } … |
|
Re:
Anyone know why i get this error in eclipse when i compile any program: [code] error: to generate dependencies you must specify either -M or -MM [/code] |
|
Re:
Salam, lets say I have declared: [code=c]int* array=new int[SIZE];[/code] (I used this array as if it was a 2D array - lets say that I'll consider these dimensions: row, column). and I want to pass this array to a function that will fill the array row by row. (The function … |
|
Re:
Write a program that tests maxLoc(). You can read a data file into a list and call the function maxLoc to find the largest element. HERE IS WHAT IS IN THE TEXT FILE(Name): Josh King Louis Tony Angel here is the code: [CODE]#include <iostream> #include <fstream> #include <list> using namespace … |
|
Re:
Hello, i have a project which requires that i work with three files. two files are text and one file is .dat Currently I have been successful at creating the dat and one of the texts. The project is a bit menu driven and is about stocks, when the program … |
|
Re:
I am working on the last part of an encryption/decryption program and have to compare the original input file to the final output file character by character to ensure that they are identical. I have tried a few different ways to do this to no avail. When I tried this … |
|
Re:
class cube; private; float s1, s2, s3; public; void print(); float area (float, float, float); } the following class in incorrect any know how to write it correctly .. thank you Very Much For Help .. |
|
Re:
hello there, i need to get 7 different values for a resistor from the user, then add them up. how will i go about doing so? do i store each value the user gives me all in different variables? or is there a way to store them into a single … |
|
Hello all, I'm very beginner in x86 assembly language, I saw that there are many assemblers avaliable, but which one to start with, regarding that I want to program in 32-bit pmode but without using any external APIs (e.g: Win32 as in MASM)... Thanks... |
|
Hello all, I and my friend are preparing for a small OS, He's currently making the bootloader, and i'm making a Portable Executables(PE) Loader that reads PE file (EXE, DLL, OCX) and executes them... My questions are: 1) Can this PE Loader execute Win32 programs on non-Window OS? 2) If … |
|
Re:
I have a string in char a[100]=00110010 which is the ascii code of '2'. Now i want to write this in a text (or binary) file as binary bits. So that when i open the file in binary mode and read a character char ch say via [CODE]ifstream fin; fin>>ch; … |
|
Hello all, I'm very new to assembly programming, even I didn't start programming in assembly, I'm just learning some basics. I've been confused about x86 assembly and 8086 assembly, I know x86 is a family of processors produced by Intel, which starts with the 16-bit 8086 and ends with the … |
|
Hello all, this is Kimo :D The title shows all what I want, I want some advice about a book to read regarding that i'm not new in programming, I Programmed C++ before. Meaning that this book doesn't explain what's a variable, a pointer or what's a class, etc... It … |
|
Re:
I am working on a program which would really become easier to write if I can use character variables as an index to an array.. for eg. if char_var is a character variable say initialized to 'a'(ascii decimal value = 97), then array1[char_var] should refer to array1[97] element. I wrote … |
|
Re:
Hello. I'm using this constuction to write to file: [CODE]#include <iostream> #include <fstream> using namespace std; int main () { char data [50]; cout << "Enter data\n"; cin >> data; ofstream file("data.txt"); if (!file) { cout << "File opening error"; cin.get(); return 1; } file << data; file.close(); cout << … |