c#

  • Implementing the Actor-Model in C# 2016-08-02

    After learning the basics (isolated state, communication and computation) of the the Actor-Model I I wrote my own implementation and I'm ready for a through code review. You will be able to see that in the test code I've created 2 tasks which are sim

    Tags: multithreading, thread safety, actor
  • Adding folders and files in the final zip file of VS 2015 project template during assembly

    Adding folders and files in the final zip file of VS 2015 project template during assembly 2016-07-31

    friends! After you create a Visual Studio Project (Visual C # \ Extensibility \ C # Project Template), remove the tag <Project></Project> and its contents from a file MyTemplate.vstemplate we have here such a project: After assembling this pro

    Tags: templates, visual studio extensions, visual studio 2015
  • c# opening up Picture folder 2016-07-31

    Today is my first day at learning C#, or any programming language so sorry if I get some terms wrong I have a way of doing this but not the way I'd like and want to know if there's a better solution. Aim is, on my C# program, when you click a button,

    Tags:
  • Can't Compie c++ using Visual Studio 2016-07-31

    before I tell my problem , I searched and I didn't find anything useful I'm trying to Compile Unreal Engine 4 Using Visual Studio 2016 , but I'm getting this error (I tried run as Administrator already): Severity Code Description Project File Line Su

    Tags: unreal engine4
  • proxy server over SSLStream and self signed certificate 2016-07-31

    I have troubles with the implementation of my proxy server over SSL with self signed Certificate: HttpServer.cs: static void Main(string[] args) { HttpsServer httpsServer = new HttpsServer(443, 1000, 1); httpsServer.Start(); } public HttpsServer(int

    Tags: proxy, ssl, certificate
  • How to hide item's template's subcontrol when not selected

    How to hide item's template's subcontrol when not selected 2016-07-31

    This is the control I have bound to a collection. <ListBox Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" HorizontalContentAlignment="Stretch" HorizontalAlignment="Stretch" VerticalAlignment="Str

    Tags: wpf, mvvm
  • Karger Min Cut Implementation C language 2016-07-31

    I have been taking this class about algorithms, this week we had an assignment which was to calculate the min cut of a given un-directed graph. I have written some code(most of it i found online). Can please guide me through some hints on how to impl

    Tags:
  • Why does entry point of _start results in error when linking with GCC on Windows/MinGW? 2016-07-31

    Why does entry point of _start results in error when linking with GCC on Windows/MinGW? Using the following .asm file I assemble and link using the following commands on Windows 10 using MinGW: nasm -f win32 helloworld.asm gcc -e_start -o helloworld

    Tags: windows, gcc, assembly, nasm
  • How to serialize a DateTimeOffset into a binary stream 2016-07-31

    I'm wondering what would be the best way to serialize a DateTimeOffset into a binary stream (using a BinaryWriter) and deserialize it again (using a BinaryReader). To serialize a DateTime, I have: public void WriteValue(DateTime value) { _writer.Writ

    Tags: .net, bcl
  • First simple multithreaded application 2016-07-31

    It's been quite some time since I got my eye on the multi-threading, today I decided to create a really simple application which runs 2 while loops simultaneously and prints the current progress of the thread to the console window, each thread's run

    Tags: .net, performance, multithreading
  • Develop a map in Xamarin 2016-07-31

    Do I need a game engine to create a map like Travian map in Xamarin? If not can I create it with Xamarin Forms?

    Tags: multiplayer, engine, maps, xamarin
  • Printing an N*N array in the rectangular/circular/spiral fashion 2016-07-31

    The problem is to print an N*N array and fill it with numbers(starting from 1 at (0,0)) in the rectangular/circular/spiral fashion, going inwards, ending at the N*N value. Also find and count the indices where the values are divisible by 11, in the c

    Tags: oop, matrix, array
  • What improvements can I make in the following code? 2016-07-31

    The problem is to print an N*N array and fill it with numbers(starting from 1 at (0,0)) in the rectangular/circular/spiral fashion, going inwards, ending at the N*N value. Also find and count the indices where the values are divisible by 11, in the c

    Tags: oop, matrix
  • Game chess sprite not moving across board 2016-07-31

    #include "Tile.h" Tile::Tile() : sf::RectangleShape(sf::Vector2f(105, 105)), m_isHighlighted(false) { if (!m_cBuffer.loadFromFile("penclick.wav")) { std::cout << "Failed to load penclick.wav" << std::endl; } } boo

    Tags: sfml
  • C++ - Lua Preventing malicious lua code 2016-07-31

    Im working on a "game" that uses lua for scripting and i plan on making it very mod-able. However, malicious code can be written without much difficulty in lua... So how can i go about stopping that? I could block certain functions, but that wou

    Tags: lua, mods
  • (how to receive data from earlier connections made by clients? 2016-07-31

    I am creating a multi-thread client/server program with c# in which the server receives requests for download from clients and send the file immediately to that client. The problem is after starting server, I open a client app and send a name of a fi

    Tags: networking, winforms, sockets, multithreading
  • How is time complexity different? 2016-07-31

    Does it save time if the value is stored first and then used? For example; while(i<strlen(s)) //code and int n = strlen(s); while(i<n) //code Is the time complexity lower for the second method as the return value of the function is first stored and

    Tags: time, performance
  • Draw circle around gameobject to indicate radius

    Draw circle around gameobject to indicate radius 2016-07-31

    I have a tower in my tower defense game im making with an upgradable radius and i would like when the user clicks the tower to show the radius as a circle around the tower My original thought was to create a cylinder gameobject and place it flat belo

    Tags: unity5
  • Validating Data in a Constructor c# 2016-07-31

    I am just trying to learn c# and am I little confused about the best way to validate data that's input from a user. I have this code in a Person Class to validate a phonenumber public string PhoneNumber { get { return phoneNumber; } set { if (!Regex.

    Tags:
  • C++ programming assignment program termiate with signal 11 2016-07-30

    Here is the assignment: Write a function that takes a char array as an input parameter and reverses the string. The function should use two pointers, front and rear. The front pointer should initially reference the first character in the string, and

    Tags:

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.150 (s). 8 q(s)