Member Avatar

Hello everyone, I want to put my *string[]* (array uni dimensional) of values in to excel row and every time the first number of this array was different of "500", the program will add another row with the values on the excel sheet. I only have on the program to system reads a file and next save it to an array, show to user the values, create a workbook and sheet without anything and just this. Workbook machine = new Workbook(); machine.LoadFromFile(@"..excel.xls"); Worksheet sheet = machine.Worksheets[0]; string[] numbers = System.IO.File.ReadAllLines(@"..txt.txt"); for (int i = 0; i < numbers.Length; i++) { …

+0 forum 0
Member Avatar

Does anyone know a good Java machine learning library I can use for a commercial product? Weka and Rapidminer unfortunately do not allow this. I already found Apache Mahout and Java Data Mininng Package. Has anyone experience with them and provide some decision support? The task calls for clustering and classification algorithms.

Member Avatar
+0 forum 1
Member Avatar

Having 4 years of experience in [Machine Learning](https://intellipaat.com/blog/tutorial/machine-learning-tutorial/) and Artificial Intelligence with the background of B.Tech in Computer Science and Robotics. Having this experience took me to another level to training professionals who are looking to skill-up their knowledge in Machine learning and AI and helps to enhance their skills.

Member Avatar
+0 forum 1
Member Avatar

I have a fully functional code that uses the random number generator to generate a set of random numbers. I'm trying to display "e" next to all the even numbers in the set, and then have a cout statement that tells the user how many even numbers there are in the set. Here's my code: #include <iostream> #include <iomanip> #include <cstdlib> using namespace std; int main() { //I'm declaring my variables int numValues1, cnt = 0; //I'm declaring my symbolic constants. #define MAX1 500 #define MAX_VAL1 5 //I'm getting the random number generator ready and using 30 as my seed …

Member Avatar
+0 forum 1
Member Avatar

hi, i'm new in using ubuntu and i want to know how can i connect the nfc reader to my vb6 application.

Member Avatar
+0 forum 1
Member Avatar

I am now learning OpenTK. I have some trouble learning how buffers, vectors and how to make more than 2 3d shapes. and if I try to set the texture or shaders, it will change all the shapes to the same textures and shaders. I have read a lot of tutorials. here are some list of tutorials that I have seen and read about it: https://github.com/opentk/LearnOpenTK https://github.com/giawa/opengl4tutorials https://www.youtube.com/playlist?list=PLWzp0Bbyy_3ggUK3XZjBmwnSjhbhJH3kp https://github.com/eowind/dreamstatecoding http://dreamstatecoding.blogspot.com/2017/01/opengl-4-with-opentk-in-c-part-1.html https://opentk.net/learn/index.html http://www.siltutorials.com/opentkbasicsindex how can I give these 2 triangles different shaders or/and textures. ```c# GL.Color4(0.4, 0.6, 0.1, 1.0); GL.Begin(PrimitiveType.Triangles); GL.Vertex2(0, 0); GL.Vertex2(1, 0); GL.Vertex2(0, 1); GL.End(); GL.Color4(0.4, 0.2, 0.1, 1.0); …

Member Avatar
+0 forum 2
Member Avatar

So, I am a post grad student in the software development field, and I am not working at the moment, but I have some questions on Business Rules, User Stories, etc. So I was wondering if perhaps we could open up a discussion here on some of the common business problems that programmers typically run into in their fields, and what sorts of user stories could be useful for an entry level programmer to pursue in their development career. I have an example; Recently I rode in a cab. While in this cab we had to wait for a truant …

Member Avatar
+0 forum 3
Member Avatar

New to asking help but I'm desperate. I have most of the code I just need advice and also how to put the value from the file into the array and then pass to the functions without using any strings or string header. Basically trying to make this work and I'm stuck. #include <iostream> #include <iomanip> #include <fstream> //Array Size Set const int ARRAYSIZE = 25; using namespace std; //Declaring Function Prototypes char findComplement(char,char); char findmRNA(char,char); bool isPalindrom(); char displayResults(char,char,char); int main() { //Declaring Arrays with constant size of 25 char dnaArray[ARRAYSIZE]; char comArray[ARRAYSIZE]; char rnaArray[ARRAYSIZE]; int size=0; int i=0; …

+0 forum 0
Member Avatar

https://www.trickcode.in/2019/12/how-to-get-return-value-from-stored.html

Member Avatar
+0 forum 1
Member Avatar

I am a new programer from Riyadh, Saudi Arabia. Nice to be join U. I am student in King Saud University.

Member Avatar
+0 forum 2
Member Avatar

Hi, I'm Anwal from Pakistan. I'm student of Bechular of Computer Science.

Member Avatar
+0 forum 1
Member Avatar

Hi, everyone i have a question to ask yous all, i have created a text story game on visual studio in the language c# but how to i identify the requirements for the text story game Identifying the requirements for the Text Adventure Game? Like aim, input requirements. output requiremtns, end user requirements.

Member Avatar
+0 forum 2
Member Avatar

Tyl is a programming language that is intended for curious people who are interested in software development, as well as for intermediate and experienced developers who want to try a different programming language. Some of Tyl features: - Clean code - Symbolized keywords - One-line statements - System modules & functions - Cascaded variables declaration - Automatic type inference Tyl Software includes the following modules: - Tyl Symbolizer - Tyl Parser - Tyl Statement Generator - Tyl Launcher - Tyl Compiler - Web Files Generator & Automation Details can be found at: Tyl Official Website: https://tyl-lang.dev Twitter: https://twitter.com/TylLang (@TylLang) Facebook: …

Member Avatar
+1 forum 8
Member Avatar

I am programming the game Othello in c#. i have managed to generate the grid however the starting pieces are not in the right position. I think it because the indexing from 0 when I want it to start from 1. Can someone try and help me out. private const string White_piece = "X"; // players piece private const string Black_piece = "O"; // computers piece private const string Empty = " "; const int Row = 9; const int Column = 9; private string[,] board = new string[9,9]; public void Draw_Board() // creates the reversi board { // Codes …

Member Avatar
+0 forum 6
Member Avatar

Hi, I have an idea of building an API for **Machine-to-machine payments.** The API will enable to assign wallets to connected devices, record available amounts of something valuable, as well as all incoming and outgoing movements of value. Would love to hear back from developers who are seeking to address the issue of M2M payments. * Which challenges around M2M payments are you trying to solve? * Which technology do you use? Appreciate your feedback a lot!

Member Avatar
+1 forum 1
Member Avatar

I'm writing a VERY simple clock to run on an old tablet using Android Studio - it displays the current time and day (I'm retired and regularly forget what day it is). I want to add the first calendar event for the current day to the display so it goes something like: 7.30 Tuesday 10.30 Discussion Group Like a lot of functions in Andriod, doing something really simple still means digging into all sorts additional layers of code, plug-ins, permissions and so on and I haven't been able to find a worked example of how I read the calendar (on …

Member Avatar
+0 forum 1
Member Avatar

Looking to create an asset for the Unity Asset store in C#. I don't want to give away the source code, yet I want users to be able to purchase + download my work and use it in their projects. I'm not sure what this is called or how to do it. Any ideas? Much appreciated!

Member Avatar
+0 forum 1
Member Avatar

I tried alot to print this arrow with random generated values which are 0101 , every time it should be differnt, please help me out thanks :) ![Untitled1.png](/attachments/large/4/c843d1e3a2cf1464dc1f1eb7c0d4a68a.png)

Member Avatar
+0 forum 6
Member Avatar

Hi everyone, I'm new to parallel programming, and my project is the two-dimensional matrix vector multiplication using mpi in C programming language. I have this multiplication function, but I don't know exactly how to run it with mpi. Can you help me, please? I write these commands, $ mpicc -g -Wall -o matrix2d matrix2d.c -lm -c $ mpiexec ./matrix2d.c But I get some errors. `mpiexec was unable to launch the specified application as it could not access or execute an executable: Executable: ./matrix2d Node: ubuntu while attempting to start process rank 0.` 2D Matrix-Vector Multiplication Function is below: #include <stdio.h> …

Member Avatar
+0 forum 1
Member Avatar

1/Write a TeachArithmeticFrame class that teaches children arithmetic. The frame uses a JLabel for a problem and a JTextField for the user answer. When the user presses the Enter key (while the JTextField object is active) or clicks the OK button, display a message stating whether the user’s answer is correct. When the Next button is clicked, display a new problem. The numbers are limited to two digits. Consider using a larger font for the JLabel and JTextField text. You can change the color of text by calling the setForeground method, for example. questionLbl.setForeground(Color.RED); 2/Extend the TeachArithmeticFrame class so that …

Member Avatar
+0 forum 1
Member Avatar

Help me , Search data with dataGuidViewer and print that searching result (vb.Net). I am try verious Code thous are found youtube, but it not work...... Please Help me VB.Net (2010, 2012,2013,)

Member Avatar
+0 forum 2
Member Avatar

Assume that you are the manager of a restaurant. Create an interactive program that allows you to manage the order from your customers and compute your daily sales. First create a text file that contains the menu of your restaurant. Arrange the menu such that the items are properly organized in different categories, for instance food, drinks and desserts. Your program should be able to read data from the input file. When the program started, the main menu should display the following options 1. Show the current order of the customer. If the order is empty, display ”Please select your …

Member Avatar
+0 forum 2
Member Avatar

MyMainWindow::createUI() { label = new QLabel("foo"); button = new QPushButton("Browse"); connect(button, SIGNAL(clicked()), SLOT(browse())); layout = new QHorizontalLayout(); layout->addWidget(label); layout->addWidget(button); setLayout(layout); } void MyMainWindow::browse() { QString directory = QFileDialog::getExistingDirectory(this, tr("Find Files"), QDir::currentPath()); if (!directory.isEmpty()) { if (directoryComboBox->findText(directory) == -1) directoryComboBox->addItem(directory); directoryComboBox->setCurrentIndex(directoryComboBox->findText(directory)); } } MyMainWindow::createUI() { label = new QLabel("foo"); button = new QPushButton("Browse"); connect(button, SIGNAL(clicked()), SLOT(browse())); layout = new QHorizontalLayout(); layout->addWidget(label); layout->addWidget(button); setLayout(layout); } void MyMainWindow::browse() { QString directory = QFileDialog::getExistingDirectory(this, tr("Find Files"), QDir::currentPath()); if (!directory.isEmpty()) { if (directoryComboBox->findText(directory) == -1) directoryComboBox->addItem(directory); directoryComboBox->setCurrentIndex(directoryComboBox->findText(directory)); } }

Member Avatar
+1 forum 1
Member Avatar

**Task** Your task is to write a program that will draw graphs and output them as coloured image in the .ppm file format and display them using a suitable external image viewer (IrfanView). The program will use code generated sine waves, and harmonics of these, to calculate and display the harmonic components of a square wave. All sine wave harmonic should be displayed, each in a different colour – and the square wave that results from summing all the sine waves should also be displayed. The resultant waveforms should be output as a single file in the .ppm format. Initially, …

Member Avatar
+0 forum 27
Member Avatar

Hello everyone, I am Bastian, i would be very grateful if anyone could help me on this one. I want to self-study about creating a Hotel Management program in Netbeans but i am afraid that i just have a basic knowledge in Java. I studied Programming but unfortunately i have to stop due to my financial issues. So i am thinking if anyone could give me some tips and tricks in order for me to create a program. I want to learn by my own but i have no idea where to start. Thank you very much.

Member Avatar
+0 forum 1
Member Avatar

Hello everyone, I am writing this post again because there were ambiguities in the previous one. I need help with this task tomorrow. I will present what I have, what I got from you and ask which code is best to use to perform this task. I will start with the program I wrote to fill the 6x6 array with random numbers and display it on the console. The program displays random numbers stored in an array in the range of -5 to 64 ... I believe deeply that it contains no error. int x,y; int rand_tab[6][6]; int main() { …

Member Avatar
+0 forum 5
Member Avatar

hai everyone im supposed to create a futsal reservation system which has 3 courts customer name should be shown in the booking table till now the customer name is printing on the table ...but i dont know how to save the name

Member Avatar
+0 forum 1
Member Avatar

Hello I'm writing a program that reads in data from a file to create an array of clients and stocks. I completed my client class and stock class. I'm stuck on my driver. ![Screen_Shot_2019-12-02_at_11_53_13_PM.png](/attachments/large/4/0ceae90458b69aa4d08f7e5937ba4a6e.png) This is what I have it prints the text file but where would I include the array its part of the project? I would love any feedback.

Member Avatar
+0 forum 1
Member Avatar

I have a CSV file with a bunch of columns, but I only need the information for the 11th column. How do I read through each line and skip to the 11th column and then store those values in a vector? I'm struggling to find clear information on how to read files in c++. This is what I have so far: #include<iostream> #include<fstream> #include<vector> #include <sstream> #include <string> std::string readStock(std::string fileName){ std::vector<std::string> ticker; //create vector std::ifstream f(fileName, std::ios::in|std::ios:: binary|std::ios::ate); std::string finalString = ""; if(f.is_open()){ std::string str; std::getline(f,str); //skip the first row while(std::getline(f,str)){ //read each line std::istringstream s(str); //stringstream to parse …

+0 forum 0
Member Avatar

Hello everyone! I'm sorry to bother you all, but I really need your help. I'm an economy and management student at uni, but somewhy I have to deal with programming. We got a task that looks like this: There's a 5x5 sized field where there are 8-8 disks for both side. |x|x|x| | | |x|x|x| | | |x|x| |o|o| | | | o|o|o| | | | o|o|o| You can move to the adjacent fields and jump over the other disks if there's an empty space behind them. The thing is I have 0 interest in programming and I just want …

Member Avatar
+0 forum 3

The End.