Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
1
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #4K
~13.5K People Reached
Favorite Tags
Member Avatar for mark5rockzz_1

I'm afraid to ask this on SO because all I can get is down-vote so I ask it here.* ## **Question:** ## Does C/C++ compiler (e.g the popular "gcc") with OO concepts allocates/creates all data member if other data member are not in use? /************************************* * code for example: * …

Member Avatar for mark5rockzz_1
0
282
Member Avatar for NardCake

Hello! So recently I have written a lexer/tokenizer and am working on a parser for a language with a friend. At this point everything is going great but I'm beginning to think about how I want to do code generation. Are there languages or systems that generate for example C …

Member Avatar for mark5rockzz_1
0
352
Member Avatar for 9tontruck

HI I am trying to make a dll file that performs its tasks using CUDA library. Here is a simple version of my code: CUDADll.cu ` #include <iostream> #include "cuda.h" #include "cuda_runtime.h" #include "device_launch_parameters.h" __global__ void test(int a, int b, int* c) { *c = a+b; } extern "C" __declspec(dllexport) …

Member Avatar for mark5rockzz_1
0
2K
Member Avatar for Himanshu Chawla

Ques : Define the class Book with all the basic attributes such as title, author, publisher, price etc. Define the default constructor, member functions display_data() for displaying the Book details. Use appropriate access control specifiers in this program I have done some part #include<iostream.h> #inlude<conio.h> using namespace std; class book …

Member Avatar for Himanshu Chawla
0
281
Member Avatar for dominiquehelper

Exercise: Write a C++ program using do-while loop that prompts for and inputs a user entry of "Y" or "N". f the user fails to enter a correct value, the loop outputs an error message and then repeats the request for the user to enter a value. This is what …

Member Avatar for PodHunter
0
7K
Member Avatar for lewashby

I'm getting this -> [Tue Sep 10 10:42:46 2013] [error] [client 127.0.0.1] PHP Warning: SQLite3::exec(): unable to open database file in /var/www/ET/insert.php on line 21, referer: http://localhost/ET/ I changed the owner of the DB file (et.sqlite3) to www-data and now this is what I'm getting. Before I changed the owner …

Member Avatar for lewashby
0
4K
Member Avatar for kingkong123

Hi, there. I have a 2D array with 208. I must concatenate the strings by twos up to index 199. So that I have 108 strings. Then I must shuffling these 108 strings. The problem is that it isn't working right. After I concatenate the strings, then shuffle, several strings …

Member Avatar for Ancient Dragon
0
305
Member Avatar for SpottyBlue

Can help? My casino code always fail to build. #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { char PlayerName[40]; // Player name int b_amount; // Current balance amount. int amount_BET; // Amount to be betted. int number; // Number bet by a player. int r_number; // …

Member Avatar for kal_crazy
0
468