Lounge<C++>

Today we're daydreaming about C++26 reflection
Jun 8, 2019 15:43
same with if i put float as the return type
Jun 8, 2019 15:43
it gives me an error that no suitable conversion between labmda []float(float a)->float to double exists
Jun 8, 2019 15:32
float c = 3.f;
Jun 8, 2019 15:32
auto g = [=](float a) { return a * c; };
If I have to remove the keyword auto what can I put instead of it ?
Is it possible even ?
Jun 8, 2019 13:16
Anyone know how to cast this in c++ style ?
const A* pa = new A();
(int*)(pa)
 

C#

General discussions about the c# language, Squirrels | gist.gi...
Jun 6, 2019 14:05
It's not a lot of data, 6 itemsa actually
Jun 6, 2019 14:01
Yes I get the return data from a DLL as Dictionary<int, string> and I need to use it in my code as Dictionary<enum, string>
Jun 6, 2019 14:00
because I get a return value from a DLL Method and the other DLL does not know about my enum
Jun 6, 2019 13:57
Is it possible to convert a Dictionary<int, string> to a Dictionary<enum, string> ?
Jun 4, 2019 14:28
Like Author, Category, Comment...
Jun 4, 2019 14:27
FileInfo gives me only date and time, I need details from Word and excel documents
Jun 4, 2019 13:51
When you right click on a file and go to properties and then click the Details tab I need to read property values from there
Jun 4, 2019 13:49
Yes I can't find anything on the topic
Jun 4, 2019 13:45
Anyone know how can I read file details in C# ?
 

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
Jun 6, 2019 13:18
Thank you !
Jun 6, 2019 12:57
And i just want the Derrived classes to send the parameter &shapes to their base CTor
Jun 6, 2019 12:56
Ok, when I have a Base Class Shape and i want the Ctor to do this
Shape(std::list<Shape*> &shapes) {
shapes.push_back(this);
}
Jun 6, 2019 12:50
Is it possible for a derived class to call it's base class Ctor from it's own Ctor with parameters and to give those parameters to its base class Ctor ??
Jul 16, 2017 14:26
ok, thank you
Jul 16, 2017 14:25
no i want in the class header float x[];
Jul 16, 2017 14:23
quick question : if i have "float x [];" inside a class of a header file how can i do something like this in the Ctor of the cpp file : x [] = {1, 2, 3}; ?
Jul 16, 2017 14:21
thank you
Jul 16, 2017 14:19
quick question : if i have "float x [];" inside a class of a header file how can i do something like this in the Ctor of the cpp file : x [] = {1, 2, 3}; ?
 

Java, Spring,JPA, PHP, jQuery & Javas

This room is for Java, ,Spring Framework, JPA, Javascript, jQu...
Dec 5, 2018 21:24
Can anyone tell me why am i getting only half the string when using $row = mysqli_fetch_row($result) and printing $row[1] for example ?
 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Dec 5, 2018 21:05
Can anyone tell me why am i getting only half the string when using $row = mysqli_fetch_row($result) and printing $row[1] for example ?
 

[iOS][Android][ChaosOverFlow]

Join to become part of the community, not to simply ask questi...
Apr 27, 2018 12:14
not a string, just - this
Apr 27, 2018 12:13
I give it "this" as a parameter but it still does not want it
Apr 27, 2018 12:10
It wants some activity, where do i get that activity from ?
Apr 27, 2018 12:10
I still don't Understand what exactly it wants me to pass
Apr 27, 2018 12:01
I don't understand , does it want me to implement something ?
Apr 27, 2018 11:58
I see examples that give as the first parameter "this" but android studio does not like that argument
Apr 27, 2018 11:58
ActivityCompat.requestPermissions(, new String[] {Manifest.permission.CAMERA}, 1);
Apr 27, 2018 11:58
does anyone know what argument should be bassed in this method ?
 

Java

Dedicated to the discussion of the Java programming language a...
Apr 27, 2018 11:52
Because Android studio does not like this as a parameter and everywhere i see examples with that parameter given
Apr 27, 2018 11:51
ActivityCompat.requestPermissions(this, new String[] {Manifest.permission.CAMERA}, 1);
Apr 27, 2018 11:51
Does anyone know what to give as the first parameter in this method ?
 
Sep 14, 2017 09:13
Damn
Sep 14, 2017 08:50
Hey guys Quick question when i write this : grep "UVM_ERROR.@/|UVM_FATAL.*@/|Error" ..where to find.. enter it in the terminal and then press the up arrow to get the command back the terminal adds extra slashes /
 

Trash can

Like the recycle bin, but trashier.
Jul 16, 2017 10:20
hey guys anyone ever used GLAD or GLEW ?
Nov 23, 2016 10:50
well i have to instanciate the class so my class is :
function Book() {
var _recipes = [];
this.addRecipe = function(recipe) {_recipes.push(recipe);},
this.removeRecipe = function(id) {_recipes.splice(id, 1);},
this.getRecipes = function() {return _recipes;}
}

var book = new Book();
Mar 28, 2016 03:15
when i play games i have to enable the intel gpu or the games won't run
Mar 28, 2016 03:14
i have a laptop with 2gpus, one intel and one nvidia, when i run the glfw it wont run, but when i disable the intel gpu the code works with no problem
 

JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Nov 23, 2016 12:30
i just don't understand how recipeBook has a book() method ?
Nov 23, 2016 12:26
does anyone understand this code ?
var app = app || {};
(function(recipeBook) { var book = new recipeBook.book(); }(app));
Nov 23, 2016 10:35
it's not about hidden html elements, i think it's about encapsulating the variable
Nov 23, 2016 10:31
guys, i have to implement a class with a property recipes that has to be an array and it has to be hidden, does anyone know how to make it hidden ?
Aug 12, 2016 21:09
ajax results in another js variable with my experiance
Aug 12, 2016 21:06
anyone know how to save a js variable to a mysql database ?
Aug 10, 2016 12:10
how is it possible ?
Aug 10, 2016 12:09
guys, when i have 5 buttons on one page do i have to put 5 diff eventlisteners (for a click), is it possible to have only 1 eventlistener for these 5 buttons ?